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
sourceimpl Clone for MaxDepthExceeded
impl Clone for MaxDepthExceeded
sourcefn clone(&self) -> MaxDepthExceeded
fn clone(&self) -> MaxDepthExceeded
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MaxDepthExceeded
impl Debug for MaxDepthExceeded
sourceimpl Display for MaxDepthExceeded
impl Display for MaxDepthExceeded
sourceimpl PartialEq<MaxDepthExceeded> for MaxDepthExceeded
impl PartialEq<MaxDepthExceeded> for MaxDepthExceeded
sourcefn eq(&self, other: &MaxDepthExceeded) -> bool
fn eq(&self, other: &MaxDepthExceeded) -> bool
impl Copy for MaxDepthExceeded
impl Eq for MaxDepthExceeded
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more