#[repr(C)]pub struct SnapshotLimits {
pub struct_size: u32,
pub version: u32,
pub max_image_bytes: u64,
pub max_validation_work: u64,
pub max_entries: u32,
pub max_array_elements: u32,
pub max_tree_nodes: u32,
pub max_hash_capacity: u32,
pub max_bitset_blocks: u32,
pub reserved: u32,
}Fields§
§struct_size: u32§version: u32§max_image_bytes: u64§max_validation_work: u64§max_entries: u32§max_array_elements: u32§max_tree_nodes: u32§max_hash_capacity: u32§max_bitset_blocks: u32§reserved: u32Trait Implementations§
Source§impl Clone for SnapshotLimits
impl Clone for SnapshotLimits
Source§fn clone(&self) -> SnapshotLimits
fn clone(&self) -> SnapshotLimits
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 SnapshotLimits
Source§impl Debug for SnapshotLimits
impl Debug for SnapshotLimits
Auto Trait Implementations§
impl Freeze for SnapshotLimits
impl RefUnwindSafe for SnapshotLimits
impl Send for SnapshotLimits
impl Sync for SnapshotLimits
impl Unpin for SnapshotLimits
impl UnsafeUnpin for SnapshotLimits
impl UnwindSafe for SnapshotLimits
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