pub struct MemLimit(pub usize);
Expand description
MemLimit
represents the maximum amount of RAM that the functions in this
module will use, in bytes.
It is highly recommended to allow the functions to use at least 16 megabytes.
Tuple Fields§
§0: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemLimit
impl RefUnwindSafe for MemLimit
impl Send for MemLimit
impl Sync for MemLimit
impl Unpin for MemLimit
impl UnwindSafe for MemLimit
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