pub struct VariantError { /* private fields */ }
Expand description
Generated when a Variant
is unwrapped wrongly
Implementations§
Trait Implementations§
Source§impl Debug for VariantError
impl Debug for VariantError
Auto Trait Implementations§
impl Freeze for VariantError
impl RefUnwindSafe for VariantError
impl Send for VariantError
impl Sync for VariantError
impl Unpin for VariantError
impl UnwindSafe for VariantError
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