pub enum LoadZeroLamports {
None,
SomeWithZeroLamportAccount,
}
Expand description
specifies how to return zero lamport accounts This will only be useful until a feature activation occurs.
Variants
None
return None if loaded account has zero lamports
SomeWithZeroLamportAccount
return Some(account with zero lamports) if loaded account has zero lamports Today this is the default. With feature activation, this will no longer be possible.
Trait Implementations
sourceimpl Clone for LoadZeroLamports
impl Clone for LoadZeroLamports
sourcefn clone(&self) -> LoadZeroLamports
fn clone(&self) -> LoadZeroLamports
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for LoadZeroLamports
Auto Trait Implementations
impl RefUnwindSafe for LoadZeroLamports
impl Send for LoadZeroLamports
impl Sync for LoadZeroLamports
impl Unpin for LoadZeroLamports
impl UnwindSafe for LoadZeroLamports
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more