pub struct ErrorVariant {
pub name: Ident,
pub raw_variant: Variant,
pub msg: String,
}Fields§
§name: Ident§raw_variant: Variant§msg: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorVariant
impl RefUnwindSafe for ErrorVariant
impl !Send for ErrorVariant
impl !Sync for ErrorVariant
impl Unpin for ErrorVariant
impl UnwindSafe for ErrorVariant
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