pub enum LooseHeaderDecodeError {
ParseIntegerError {
source: ParseIntegerError,
message: &'static str,
number: BString,
},
InvalidHeader {
message: &'static str,
},
ObjectHeader(Error),
}Expand description
Returned by loose_header()
Variants§
Trait Implementations§
Source§impl Debug for LooseHeaderDecodeError
impl Debug for LooseHeaderDecodeError
Source§impl Display for LooseHeaderDecodeError
impl Display for LooseHeaderDecodeError
Source§impl Error for LooseHeaderDecodeError
impl Error for LooseHeaderDecodeError
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 LooseHeaderDecodeError
impl RefUnwindSafe for LooseHeaderDecodeError
impl Send for LooseHeaderDecodeError
impl Sync for LooseHeaderDecodeError
impl Unpin for LooseHeaderDecodeError
impl UnsafeUnpin for LooseHeaderDecodeError
impl UnwindSafe for LooseHeaderDecodeError
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