pub enum ConnectionHeaderError {
MissingSeparator,
EmptyName,
InvalidName,
InvalidValue,
ReservedName(String),
}Variants§
Trait Implementations§
Source§impl Debug for ConnectionHeaderError
impl Debug for ConnectionHeaderError
Source§impl Display for ConnectionHeaderError
impl Display for ConnectionHeaderError
Source§impl Error for ConnectionHeaderError
impl Error for ConnectionHeaderError
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 ConnectionHeaderError
impl RefUnwindSafe for ConnectionHeaderError
impl Send for ConnectionHeaderError
impl Sync for ConnectionHeaderError
impl Unpin for ConnectionHeaderError
impl UnsafeUnpin for ConnectionHeaderError
impl UnwindSafe for ConnectionHeaderError
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