Enum git_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
ParseIntegerError
InvalidHeader
Fields
message: &'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()
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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