pub enum GitConfigIntStrictError {
InvalidUnit,
OutOfRange,
}Expand description
Why parse_git_config_int_strict failed (mirrors Git errno after git_parse_signed).
Variants§
InvalidUnit
EINVAL — trailing junk, unknown unit suffix, or not a number.
OutOfRange
ERANGE — value does not fit in i64 after scaling.
Trait Implementations§
Source§impl Clone for GitConfigIntStrictError
impl Clone for GitConfigIntStrictError
Source§fn clone(&self) -> GitConfigIntStrictError
fn clone(&self) -> GitConfigIntStrictError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GitConfigIntStrictError
impl Debug for GitConfigIntStrictError
Source§impl PartialEq for GitConfigIntStrictError
impl PartialEq for GitConfigIntStrictError
impl Copy for GitConfigIntStrictError
impl Eq for GitConfigIntStrictError
impl StructuralPartialEq for GitConfigIntStrictError
Auto Trait Implementations§
impl Freeze for GitConfigIntStrictError
impl RefUnwindSafe for GitConfigIntStrictError
impl Send for GitConfigIntStrictError
impl Sync for GitConfigIntStrictError
impl Unpin for GitConfigIntStrictError
impl UnsafeUnpin for GitConfigIntStrictError
impl UnwindSafe for GitConfigIntStrictError
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