pub enum HttpComponentError {
InvalidDataType {
expect: &'static str,
},
FailedSerializeValue(SerializeError),
UnmetRequirement {
reason: &'static str,
},
UnsupportedComponent(String),
}Variants§
Trait Implementations§
Source§impl Debug for HttpComponentError
impl Debug for HttpComponentError
Source§impl Display for HttpComponentError
impl Display for HttpComponentError
Source§impl Error for HttpComponentError
impl Error for HttpComponentError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<HttpComponentError> for SignError
impl From<HttpComponentError> for SignError
Source§fn from(source: HttpComponentError) -> Self
fn from(source: HttpComponentError) -> Self
Converts to this type from the input type.
Source§impl From<HttpComponentError> for VerificationError
impl From<HttpComponentError> for VerificationError
Source§fn from(source: HttpComponentError) -> Self
fn from(source: HttpComponentError) -> Self
Converts to this type from the input type.
Source§impl From<SerializeError> for HttpComponentError
impl From<SerializeError> for HttpComponentError
Source§fn from(source: SerializeError) -> Self
fn from(source: SerializeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HttpComponentError
impl RefUnwindSafe for HttpComponentError
impl Send for HttpComponentError
impl Sync for HttpComponentError
impl Unpin for HttpComponentError
impl UnsafeUnpin for HttpComponentError
impl UnwindSafe for HttpComponentError
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