Struct solana_runtime::accounts_hash::AccountHashesFile
source · pub struct AccountHashesFile {
count_and_writer: Option<(usize, BufWriter<File>)>,
}
Expand description
1 file containing account hashes sorted by pubkey
Fields§
§count_and_writer: Option<(usize, BufWriter<File>)>
Implementations§
source§impl AccountHashesFile
impl AccountHashesFile
sourcefn get_reader(&mut self) -> Option<(usize, MmapAccountHashesFile)>
fn get_reader(&mut self) -> Option<(usize, MmapAccountHashesFile)>
map the file into memory and return a reader that can access it by slice
Trait Implementations§
source§impl Default for AccountHashesFile
impl Default for AccountHashesFile
source§fn default() -> AccountHashesFile
fn default() -> AccountHashesFile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AccountHashesFile
impl Send for AccountHashesFile
impl Sync for AccountHashesFile
impl Unpin for AccountHashesFile
impl UnwindSafe for AccountHashesFile
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