Enum twitch_api::helix::request::errors::InvalidUri
source · [−]pub enum InvalidUri {
UriParseError(InvalidUri),
UrlError(ParseError),
QuerySerializeError(SerializeError),
}
Available on crate feature
helix
only.Variants
UriParseError(InvalidUri)
URI could not be parsed
UrlError(ParseError)
could not assemble URI for request
QuerySerializeError(SerializeError)
could not serialize request to query
Trait Implementations
sourceimpl Debug for InvalidUri
impl Debug for InvalidUri
sourceimpl Display for InvalidUri
impl Display for InvalidUri
sourceimpl Error for InvalidUri
impl Error for InvalidUri
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<Error> for InvalidUri
impl From<Error> for InvalidUri
sourcefn from(source: SerializeError) -> Self
fn from(source: SerializeError) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidUri> for BodyError
impl From<InvalidUri> for BodyError
sourcefn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidUri> for CreateRequestError
impl From<InvalidUri> for CreateRequestError
sourcefn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
sourceimpl From<InvalidUri> for InvalidUri
impl From<InvalidUri> for InvalidUri
sourcefn from(source: InvalidUri) -> Self
fn from(source: InvalidUri) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for InvalidUri
impl From<ParseError> for InvalidUri
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for InvalidUri
impl Send for InvalidUri
impl Sync for InvalidUri
impl Unpin for InvalidUri
impl UnwindSafe for InvalidUri
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