pub struct ExpectedType { /* private fields */ }Expand description
A expected error.
Trait Implementations§
Source§impl From<ExpectedType> for RuntimeError
impl From<ExpectedType> for RuntimeError
Source§fn from(error: ExpectedType) -> Self
fn from(error: ExpectedType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExpectedType
impl RefUnwindSafe for ExpectedType
impl Send for ExpectedType
impl Sync for ExpectedType
impl Unpin for ExpectedType
impl UnwindSafe for ExpectedType
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