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
impl Copy for MaxDepthExceeded
impl Eq for MaxDepthExceeded
impl StructuralPartialEq for MaxDepthExceeded
Auto Trait Implementations§
impl Freeze for MaxDepthExceeded
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)