Enum zvariant::MaxDepthExceeded
source · pub enum MaxDepthExceeded {
Structure,
Array,
Container,
}
Expand description
Enum representing the max depth exceeded error.
Variants§
Structure
The maximum allowed depth for structures in encoding was exceeded.
Array
The maximum allowed depth for arrays in encoding was exceeded.
Container
The maximum allowed depth for containers in encoding was exceeded.
Trait Implementations§
source§impl Clone for MaxDepthExceeded
impl Clone for MaxDepthExceeded
source§fn clone(&self) -> MaxDepthExceeded
fn clone(&self) -> MaxDepthExceeded
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaxDepthExceeded
impl Debug for MaxDepthExceeded
source§impl Display for MaxDepthExceeded
impl Display for MaxDepthExceeded
source§impl PartialEq for MaxDepthExceeded
impl PartialEq for MaxDepthExceeded
source§fn eq(&self, other: &MaxDepthExceeded) -> bool
fn eq(&self, other: &MaxDepthExceeded) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MaxDepthExceeded
impl Eq for MaxDepthExceeded
impl StructuralPartialEq for MaxDepthExceeded
Auto Trait Implementations§
impl RefUnwindSafe for MaxDepthExceeded
impl Send for MaxDepthExceeded
impl Sync for MaxDepthExceeded
impl Unpin for MaxDepthExceeded
impl UnwindSafe for MaxDepthExceeded
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