pub struct DepthGauge { /* private fields */ }Expand description
Depth gauge is used on potentially recursive structures like Variant & ExtensionObject during decoding to limit the depth the decoder will go before giving up.
Implementations§
Trait Implementations§
Source§impl Clone for DepthGauge
impl Clone for DepthGauge
Source§impl Debug for DepthGauge
impl Debug for DepthGauge
Auto Trait Implementations§
impl !Freeze for DepthGauge
impl RefUnwindSafe for DepthGauge
impl Send for DepthGauge
impl Sync for DepthGauge
impl Unpin for DepthGauge
impl UnsafeUnpin for DepthGauge
impl UnwindSafe for DepthGauge
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