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§
source§impl Clone for LoadZeroLamports
impl Clone for LoadZeroLamports
source§fn clone(&self) -> LoadZeroLamports
fn clone(&self) -> LoadZeroLamports
Returns a copy of the value. Read more
1.0.0 · source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more