Struct solana_accounts_db::tiered_storage::hot::HotStorageWriter
source · pub struct HotStorageWriter { /* private fields */ }
Expand description
The writer that creates a hot accounts file.
Implementations§
source§impl HotStorageWriter
impl HotStorageWriter
sourcepub fn new(file_path: impl AsRef<Path>) -> TieredStorageResult<Self>
pub fn new(file_path: impl AsRef<Path>) -> TieredStorageResult<Self>
Create a new HotStorageWriter with the specified path.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HotStorageWriter
impl Send for HotStorageWriter
impl Sync for HotStorageWriter
impl Unpin for HotStorageWriter
impl UnwindSafe for HotStorageWriter
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