pub struct StorageStateSettings {
pub max_entry_bytes: NonZero<usize>,
pub max_checkpoint_bytes: NonZero<usize>,
}Fields§
§max_entry_bytes: NonZero<usize>§max_checkpoint_bytes: NonZero<usize>Trait Implementations§
Source§impl Clone for StorageStateSettings
impl Clone for StorageStateSettings
Source§fn clone(&self) -> StorageStateSettings
fn clone(&self) -> StorageStateSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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<StorageStateSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StorageStateSettings, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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