pub enum AuthorArgError {
InvalidFormat,
EmptyEmail,
TrailingText,
}Expand description
Failure to parse parse_author_arg.
Variants§
InvalidFormat
The string is not a recognized author form.
EmptyEmail
Angle brackets present but the email portion is empty.
TrailingText
Non-whitespace remains after the closing >.
Trait Implementations§
Source§impl Clone for AuthorArgError
impl Clone for AuthorArgError
Source§impl Debug for AuthorArgError
impl Debug for AuthorArgError
Source§impl Display for AuthorArgError
impl Display for AuthorArgError
impl Eq for AuthorArgError
Source§impl Error for AuthorArgError
impl Error for AuthorArgError
1.30.0 · 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()
Source§impl From<AuthorArgError> for HistoryError
impl From<AuthorArgError> for HistoryError
Source§fn from(source: AuthorArgError) -> Self
fn from(source: AuthorArgError) -> Self
Converts to this type from the input type.
Source§impl From<AuthorArgError> for CommitIdentityError
impl From<AuthorArgError> for CommitIdentityError
Source§fn from(source: AuthorArgError) -> Self
fn from(source: AuthorArgError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AuthorArgError
impl PartialEq for AuthorArgError
impl StructuralPartialEq for AuthorArgError
Auto Trait Implementations§
impl Freeze for AuthorArgError
impl RefUnwindSafe for AuthorArgError
impl Send for AuthorArgError
impl Sync for AuthorArgError
impl Unpin for AuthorArgError
impl UnsafeUnpin for AuthorArgError
impl UnwindSafe for AuthorArgError
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