Struct tea_codec::serde::error::InvalidFormat
source · pub struct InvalidFormat(pub &'static str);Tuple Fields§
§0: &'static strTrait Implementations§
source§impl Debug for InvalidFormat
impl Debug for InvalidFormat
source§impl Descriptor<InvalidFormat> for Serde
impl Descriptor<InvalidFormat> for Serde
fn name<'a>(_: &'a InvalidFormat) -> Option<Cow<'a, str>>
fn summary<'a>(__value__: &'a InvalidFormat) -> Option<Cow<'a, str>>
fn detail<'a>(__value__: &'a InvalidFormat) -> Option<Cow<'a, str>>
fn type_id<'a>(_: &'a InvalidFormat) -> Option<TypeId>
fn inner(v: &T) -> Option<SmallVec<[&Error; 1]>>
source§impl Display for InvalidFormat
impl Display for InvalidFormat
source§impl Error for InvalidFormat
impl Error for InvalidFormat
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()