pub struct StorageConfig {
pub allocations: usize,
pub extents: usize,
pub pages: u64,
pub wire: Limits,
}Expand description
StorageConfig
Resource ceilings checked when creating, opening and extending the directory. Physical page accounting includes retained metadata and abandoned tails.
Fields§
§allocations: usizeMaximum retained named allocations, including currently omitted names.
extents: usizeMaximum total data extents across every allocation.
pages: u64Maximum physical backing extent, in 64 KiB Wasm pages.
wire: LimitsEncoding and decoding budgets for each directory snapshot.
Trait Implementations§
Source§impl Clone for StorageConfig
impl Clone for StorageConfig
impl Copy for StorageConfig
Source§impl Debug for StorageConfig
impl Debug for StorageConfig
Auto Trait Implementations§
impl Freeze for StorageConfig
impl RefUnwindSafe for StorageConfig
impl Send for StorageConfig
impl Sync for StorageConfig
impl Unpin for StorageConfig
impl UnsafeUnpin for StorageConfig
impl UnwindSafe for StorageConfig
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