pub enum HeadersError {
DecodeError {
param: String,
encoding: String,
reason: String,
},
JsonError {
reason: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for HeadersError
impl Debug for HeadersError
Source§impl Display for HeadersError
impl Display for HeadersError
Source§impl Error for HeadersError
impl Error for HeadersError
1.30.0 · 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<HeadersError> for RexError
impl From<HeadersError> for RexError
Source§fn from(err: HeadersError) -> Self
fn from(err: HeadersError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HeadersError
impl RefUnwindSafe for HeadersError
impl Send for HeadersError
impl Sync for HeadersError
impl Unpin for HeadersError
impl UnsafeUnpin for HeadersError
impl UnwindSafe for HeadersError
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