pub struct TieredStorageFormat {
pub meta_entry_size: usize,
pub account_meta_format: AccountMetaFormat,
pub owners_block_format: OwnersBlockFormat,
pub index_block_format: IndexBlockFormat,
pub account_block_format: AccountBlockFormat,
}
Expand description
The struct that defines the formats of all building blocks of a TieredStorage.
Fields§
§meta_entry_size: usize
§account_meta_format: AccountMetaFormat
§owners_block_format: OwnersBlockFormat
§index_block_format: IndexBlockFormat
§account_block_format: AccountBlockFormat
Trait Implementations§
Source§impl Clone for TieredStorageFormat
impl Clone for TieredStorageFormat
Source§fn clone(&self) -> TieredStorageFormat
fn clone(&self) -> TieredStorageFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TieredStorageFormat
impl Debug for TieredStorageFormat
Source§impl PartialEq for TieredStorageFormat
impl PartialEq for TieredStorageFormat
impl StructuralPartialEq for TieredStorageFormat
Auto Trait Implementations§
impl Freeze for TieredStorageFormat
impl RefUnwindSafe for TieredStorageFormat
impl Send for TieredStorageFormat
impl Sync for TieredStorageFormat
impl Unpin for TieredStorageFormat
impl UnwindSafe for TieredStorageFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more