Enum twitch_api::DeserError
source · [−]Available on crate feature
serde_json
only.Expand description
A deserialization error
Variants
PathError
could not deserialize, error on [{path}]. {error}
Trait Implementations
sourceimpl Debug for DeserError
impl Debug for DeserError
sourceimpl Display for DeserError
impl Display for DeserError
sourceimpl Error for DeserError
impl Error for DeserError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DeserError> for PayloadParseError
Available on crate feature eventsub
only.
impl From<DeserError> for PayloadParseError
Available on crate feature
eventsub
only.sourcefn from(source: DeserError) -> Self
fn from(source: DeserError) -> Self
Converts to this type from the input type.
sourceimpl<RE: Error + Send + Sync + 'static> From<DeserError> for RequestError<RE>
Available on crate feature tmi
only.
impl<RE: Error + Send + Sync + 'static> From<DeserError> for RequestError<RE>
Available on crate feature
tmi
only.sourcefn from(source: DeserError) -> Self
fn from(source: DeserError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for DeserError
impl Send for DeserError
impl Sync for DeserError
impl Unpin for DeserError
impl !UnwindSafe for DeserError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more