pub struct MemoryOptions {
pub max_keys: usize,
pub max_topics: usize,
pub limits: Limits,
}Fields§
§max_keys: usizeLive keys across KV, counter and permit domains. A full cache sheds live values, then counters, soonest to expire first; never a permit.
max_topics: usize§limits: LimitsTrait Implementations§
Source§impl Clone for MemoryOptions
impl Clone for MemoryOptions
Source§impl Debug for MemoryOptions
impl Debug for MemoryOptions
Auto Trait Implementations§
impl Freeze for MemoryOptions
impl RefUnwindSafe for MemoryOptions
impl Send for MemoryOptions
impl Sync for MemoryOptions
impl Unpin for MemoryOptions
impl UnsafeUnpin for MemoryOptions
impl UnwindSafe for MemoryOptions
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