Enum gix_object::decode::LooseHeaderDecodeError
source · 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 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