Enum twitch_api2::helix::CreateRequestError [−][src]
pub enum CreateRequestError { HttpError(Error), SerializeError(BodyError), InvalidUri(InvalidUri), Custom(Cow<'static, str>), }
This is supported on crate feature
helix
only.Could not create request
Variants
HttpError(Error)
http crate returned an error
SerializeError(BodyError)
serialization of body failed
InvalidUri(InvalidUri)
could not assemble URI for request
{0}
Trait Implementations
impl Error for CreateRequestError
[src]
impl Error for CreateRequestError
[src]impl<RE: Error + Send + Sync + 'static> From<CreateRequestError> for ClientRequestError<RE>
[src]
impl<RE: Error + Send + Sync + 'static> From<CreateRequestError> for ClientRequestError<RE>
[src]fn from(source: CreateRequestError) -> Self
[src]
impl From<InvalidUri> for CreateRequestError
[src]
impl From<InvalidUri> for CreateRequestError
[src]fn from(source: InvalidUri) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CreateRequestError
impl !RefUnwindSafe for CreateRequestError
impl Send for CreateRequestError
impl Send for CreateRequestError
impl Sync for CreateRequestError
impl Sync for CreateRequestError
impl Unpin for CreateRequestError
impl Unpin for CreateRequestError
impl !UnwindSafe for CreateRequestError
impl !UnwindSafe for CreateRequestError
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>,