pub struct StorageStateSettings {
pub max_entry_bytes: NonZeroUsize,
pub max_checkpoint_bytes: NonZeroUsize,
}Fields§
§max_entry_bytes: NonZeroUsize§max_checkpoint_bytes: NonZeroUsizeTrait Implementations§
Source§impl Clone for StorageStateSettings
impl Clone for StorageStateSettings
impl Copy for StorageStateSettings
Source§impl Debug for StorageStateSettings
impl Debug for StorageStateSettings
Source§impl<'de> Deserialize<'de> for StorageStateSettings
impl<'de> Deserialize<'de> for StorageStateSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageStateSettings
Source§impl PartialEq for StorageStateSettings
impl PartialEq for StorageStateSettings
Source§impl Serialize for StorageStateSettings
impl Serialize for StorageStateSettings
impl StructuralPartialEq for StorageStateSettings
Auto Trait Implementations§
impl Freeze for StorageStateSettings
impl RefUnwindSafe for StorageStateSettings
impl Send for StorageStateSettings
impl Sync for StorageStateSettings
impl Unpin for StorageStateSettings
impl UnsafeUnpin for StorageStateSettings
impl UnwindSafe for StorageStateSettings
Blanket Implementations§
impl<T> Allocation for T
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