pub enum FromDataError {
ExpectedType(&'static str),
Custom(&'static str),
CustomString(String),
}
Variants§
Trait Implementations§
Source§impl Debug for FromDataError
impl Debug for FromDataError
Source§impl From<DecodeError> for FromDataError
impl From<DecodeError> for FromDataError
Source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<FromDataError> for Error
impl From<FromDataError> for Error
Source§fn from(e: FromDataError) -> Self
fn from(e: FromDataError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FromDataError
impl RefUnwindSafe for FromDataError
impl Send for FromDataError
impl Sync for FromDataError
impl Unpin for FromDataError
impl UnwindSafe for FromDataError
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