pub enum Unexpected {
}
Variants§
Bool(bool)
Unsigned(u64)
Signed(i64)
Float(f64)
Char(char)
Str(String)
Bytes(Vec<u8>)
Unit
Option
NewtypeStruct
Seq
Map
Enum
UnitVariant
NewtypeVariant
TupleVariant
StructVariant
Other(String)
Implementations§
Source§impl Unexpected
impl Unexpected
pub fn to_unexpected<'a>(&'a self) -> Unexpected<'a>
Trait Implementations§
Source§impl Debug for Unexpected
impl Debug for Unexpected
Source§impl<'a> From<Unexpected<'a>> for Unexpected
impl<'a> From<Unexpected<'a>> for Unexpected
Source§fn from(unexp: Unexpected<'_>) -> Unexpected
fn from(unexp: Unexpected<'_>) -> Unexpected
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Unexpected
impl RefUnwindSafe for Unexpected
impl Send for Unexpected
impl Sync for Unexpected
impl Unpin for Unexpected
impl UnwindSafe for Unexpected
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