pub enum TransportRealismError {
EmptyHeaderOrder,
DuplicateHeader,
}Expand description
Errors produced by transport-realism helpers.
Variants§
EmptyHeaderOrder
A supplied header order or pseudo-header order is empty.
DuplicateHeader
A header order observation contained a duplicate header name.
Trait Implementations§
Source§impl Debug for TransportRealismError
impl Debug for TransportRealismError
Source§impl Display for TransportRealismError
impl Display for TransportRealismError
Source§impl Error for TransportRealismError
impl Error for TransportRealismError
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()
Auto Trait Implementations§
impl Freeze for TransportRealismError
impl RefUnwindSafe for TransportRealismError
impl Send for TransportRealismError
impl Sync for TransportRealismError
impl Unpin for TransportRealismError
impl UnsafeUnpin for TransportRealismError
impl UnwindSafe for TransportRealismError
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