pub enum InvalidFormat {
Dictionary(Error),
InnerList,
Integer(Error),
String,
HeaderName(Error),
ByteSequence,
DerivedComponent(InvalidDerivedComponent),
}Variants§
Dictionary(Error)
InnerList
Integer(Error)
String
HeaderName(Error)
ByteSequence
DerivedComponent(InvalidDerivedComponent)
Trait Implementations§
Source§impl Debug for InvalidFormat
impl Debug for InvalidFormat
Source§impl Display for InvalidFormat
impl Display for InvalidFormat
Source§impl Error for InvalidFormat
impl Error for InvalidFormat
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<InvalidDerivedComponent> for InvalidFormat
impl From<InvalidDerivedComponent> for InvalidFormat
Source§fn from(source: InvalidDerivedComponent) -> Self
fn from(source: InvalidDerivedComponent) -> Self
Converts to this type from the input type.
Source§impl From<InvalidFormat> for SerializeError
impl From<InvalidFormat> for SerializeError
Source§fn from(source: InvalidFormat) -> Self
fn from(source: InvalidFormat) -> Self
Converts to this type from the input type.
Source§impl From<InvalidFormat> for SignatureError
impl From<InvalidFormat> for SignatureError
Source§fn from(source: InvalidFormat) -> Self
fn from(source: InvalidFormat) -> Self
Converts to this type from the input type.
Source§impl From<InvalidFormat> for SignatureInputError
impl From<InvalidFormat> for SignatureInputError
Source§fn from(source: InvalidFormat) -> Self
fn from(source: InvalidFormat) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidFormat
impl RefUnwindSafe for InvalidFormat
impl Send for InvalidFormat
impl Sync for InvalidFormat
impl Unpin for InvalidFormat
impl UnsafeUnpin for InvalidFormat
impl UnwindSafe for InvalidFormat
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