Struct solana_runtime::bank::BankRc
source · pub struct BankRc {
pub accounts: Arc<Accounts>,
pub(crate) parent: RwLock<Option<Arc<Bank>>>,
pub(crate) slot: Slot,
pub(crate) bank_id_generator: Arc<AtomicU64>,
}
Fields§
§accounts: Arc<Accounts>
where all the Accounts are stored
parent: RwLock<Option<Arc<Bank>>>
Previous checkpoint of this bank
slot: Slot
Current slot
bank_id_generator: Arc<AtomicU64>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BankRc
impl Send for BankRc
impl Sync for BankRc
impl Unpin for BankRc
impl !UnwindSafe for BankRc
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