Enum twitch_api2::helix::BodyError [−][src]
pub enum BodyError { JsonError(Error), QuerySerializeError(Error), InvalidUri(InvalidUri), }
This is supported on crate feature
helix
only.Errors that can happen when creating a body
Variants
JsonError(Error)
could not serialize as json
QuerySerializeError(Error)
could not serialize to query
InvalidUri(InvalidUri)
uri is invalid
Trait Implementations
impl From<InvalidUri> for BodyError
[src]
impl From<InvalidUri> for BodyError
[src]fn from(source: InvalidUri) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BodyError
impl !RefUnwindSafe for BodyError
impl !UnwindSafe for BodyError
impl !UnwindSafe for BodyError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,