Enum solana_runtime::rent_collector::RentResult
source · enum RentResult {
Exempt,
NoRentCollectionNow,
CollectRent {
new_rent_epoch: Epoch,
rent_due: u64,
},
}
Expand description
when rent is collected for this account, this is the action to apply to the account
Variants§
Exempt
this account will never have rent collected from it
NoRentCollectionNow
maybe we collect rent later, but not now
CollectRent
collect rent
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RentResult
impl Send for RentResult
impl Sync for RentResult
impl Unpin for RentResult
impl UnwindSafe for RentResult
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