pub struct StorageConfig {
pub allocations: usize,
pub extents: usize,
pub pages: u64,
}Expand description
StorageConfig
Resource ceilings checked when creating, opening and extending the directory. Physical page accounting includes reserved metadata and bucket slack. Table capacities are fixed when creating an image; reopening may impose smaller live-usage limits but cannot increase the image capacities.
Fields§
§allocations: usizeMaximum retained named allocations, including currently omitted names.
extents: usizeMaximum allocated eight-page buckets across every allocation.
pages: u64Maximum physical backing extent, in 64 KiB Wasm pages.
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 Forget for StorageConfig
impl Freeze for StorageConfig
impl Move 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