#[non_exhaustive]pub enum RequestError {
BadUri,
UnsupportedUriScheme,
Parsing,
Encoding,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RequestError
impl Clone for RequestError
Source§fn clone(&self) -> RequestError
fn clone(&self) -> RequestError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RequestError
impl Debug for RequestError
Source§impl Display for RequestError
impl Display for RequestError
Source§impl ErrorDomain for RequestError
impl ErrorDomain for RequestError
Source§impl<'a> FromValue<'a> for RequestError
impl<'a> FromValue<'a> for RequestError
Source§type Checker = GenericValueTypeChecker<RequestError>
type Checker = GenericValueTypeChecker<RequestError>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for RequestError
impl Hash for RequestError
Source§impl Ord for RequestError
impl Ord for RequestError
Source§fn cmp(&self, other: &RequestError) -> Ordering
fn cmp(&self, other: &RequestError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RequestError
impl PartialEq for RequestError
Source§impl PartialOrd for RequestError
impl PartialOrd for RequestError
Source§impl StaticType for RequestError
impl StaticType for RequestError
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for RequestError
impl ToValue for RequestError
Source§impl ValueType for RequestError
impl ValueType for RequestError
Source§type Type = RequestError
type Type = RequestError
Type to get the
Type
from. Read moreimpl Copy for RequestError
impl Eq for RequestError
impl StructuralPartialEq for RequestError
Auto Trait Implementations§
impl Freeze for RequestError
impl RefUnwindSafe for RequestError
impl Send for RequestError
impl Sync for RequestError
impl Unpin for RequestError
impl UnwindSafe for RequestError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.