pub struct DataLimits {
pub depth: usize,
pub nodes: usize,
pub bytes: usize,
}Expand description
Bounds for copying a value out as Data.
Fields§
§depth: usizeDeepest nesting (at most MAX_DATA_DEPTH, 200: each level is a native call).
nodes: usizeMost values in all.
bytes: usizeMost string bytes in all.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DataLimits
impl Freeze for DataLimits
impl Move for DataLimits
impl RefUnwindSafe for DataLimits
impl Send for DataLimits
impl Sync for DataLimits
impl Unpin for DataLimits
impl UnsafeUnpin for DataLimits
impl UnwindSafe for DataLimits
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