pub struct TieredStorageWriter<'format> { /* private fields */ }
Implementations§
source§impl<'format> TieredStorageWriter<'format>
impl<'format> TieredStorageWriter<'format>
pub fn new( file_path: impl AsRef<Path>, format: &'format TieredStorageFormat ) -> TieredStorageResult<Self>
pub fn write_accounts<'a, 'b, T: ReadableAccount + Sync, U: StorableAccounts<'a, T>, V: Borrow<Hash>>( &self, accounts: &StorableAccountsWithHashesAndWriteVersions<'a, 'b, T, U, V>, skip: usize ) -> TieredStorageResult<Vec<StoredAccountInfo>>
Trait Implementations§
Auto Trait Implementations§
impl<'format> RefUnwindSafe for TieredStorageWriter<'format>
impl<'format> Send for TieredStorageWriter<'format>
impl<'format> Sync for TieredStorageWriter<'format>
impl<'format> Unpin for TieredStorageWriter<'format>
impl<'format> UnwindSafe for TieredStorageWriter<'format>
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