Enum git_object::decode::LooseHeaderDecodeError
source · [−]pub enum LooseHeaderDecodeError {
ParseIntegerError(ParseIntegerError, &'static str, Vec<u8>),
InvalidHeader(&'static str),
ObjectHeader(Error),
}
Expand description
Returned by loose_header()
Variants
ParseIntegerError(ParseIntegerError, &'static str, Vec<u8>)
InvalidHeader(&'static str)
ObjectHeader(Error)
Trait Implementations
sourceimpl Debug for LooseHeaderDecodeError
impl Debug for LooseHeaderDecodeError
sourceimpl Display for LooseHeaderDecodeError
impl Display for LooseHeaderDecodeError
sourceimpl Error for LooseHeaderDecodeError
impl Error for LooseHeaderDecodeError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for LooseHeaderDecodeError
impl From<Error> for LooseHeaderDecodeError
sourcefn from(err: Error) -> LooseHeaderDecodeError
fn from(err: Error) -> LooseHeaderDecodeError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for LooseHeaderDecodeError
impl Send for LooseHeaderDecodeError
impl Sync for LooseHeaderDecodeError
impl Unpin for LooseHeaderDecodeError
impl UnwindSafe for LooseHeaderDecodeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more