pub struct TypeError {
pub got: String,
pub expected: &'static str,
pub key: &'static str,
}
Fields§
§got: String
§expected: &'static str
§key: &'static str
Trait Implementations§
Source§impl From<TypeError> for StructureError
impl From<TypeError> for StructureError
Source§fn from(err: TypeError) -> StructureError
fn from(err: TypeError) -> StructureError
Converts to this type from the input type.
impl Eq for TypeError
impl StructuralPartialEq for TypeError
Auto Trait Implementations§
impl Freeze for TypeError
impl RefUnwindSafe for TypeError
impl Send for TypeError
impl Sync for TypeError
impl Unpin for TypeError
impl UnwindSafe for TypeError
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