pub struct TypeMismatchError { /* private fields */ }
Implementations§
source§impl TypeMismatchError
impl TypeMismatchError
pub fn new<T>(unexpected: Unexpected, expected: T) -> Selfwhere
T: Expected,
Trait Implementations§
source§impl Debug for TypeMismatchError
impl Debug for TypeMismatchError
Auto Trait Implementations§
impl Freeze for TypeMismatchError
impl RefUnwindSafe for TypeMismatchError
impl Send for TypeMismatchError
impl Sync for TypeMismatchError
impl Unpin for TypeMismatchError
impl UnwindSafe for TypeMismatchError
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