Enum twitch_api2::tmi::RequestError [−][src]
pub enum RequestError<RE: Error + Send + Sync + 'static> { HttpError(Error), DeserializeError(Error), RequestError(Box<RE>), Utf8Error(Vec<u8>, Utf8Error), }
This is supported on crate feature
tmi
only.Errors for TmiClient
requests
Variants
HttpError(Error)
http crate returned an error
DeserializeError(Error)
deserialization failed
RequestError(Box<RE>)
request failed
could not parse body as utf8: {1}
Trait Implementations
Auto Trait Implementations
impl<RE> !RefUnwindSafe for RequestError<RE>
impl<RE> !RefUnwindSafe for RequestError<RE>
impl<RE> Send for RequestError<RE>
impl<RE> Send for RequestError<RE>
impl<RE> Sync for RequestError<RE>
impl<RE> Sync for RequestError<RE>
impl<RE> Unpin for RequestError<RE>
impl<RE> Unpin for RequestError<RE>
impl<RE> !UnwindSafe for RequestError<RE>
impl<RE> !UnwindSafe for RequestError<RE>
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>,