pub struct Limits { /* private fields */ }Implementations§
Source§impl Limits
impl Limits
pub fn max_depth(self, value: u32) -> Self
pub fn max_vector_len(self, value: usize) -> Self
pub fn max_total_elements(self, value: usize) -> Self
Sourcepub fn max_references(self, value: usize) -> Self
pub fn max_references(self, value: usize) -> Self
Sets the maximum number of entries in the serialized reference table.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limits
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnsafeUnpin for Limits
impl UnwindSafe for Limits
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