pub enum Error {
Show 49 variants
StashList(Error),
ReadLog(Error),
OpenRepo(Error),
FindGitDir(Error),
Term(Error),
GitDirUtf8(FromUtf8Error),
Config(Error),
FileWatcher(Error),
ReadRebaseStatusFile(Error),
ReadBranchName(Error),
BranchNameUtf8(Utf8Error),
GitDiff(Error),
GitDiffUtf8(FromUtf8Error),
GitShow(Error),
GitShowUtf8(FromUtf8Error),
GitShowMeta(Error),
NotOnBranch,
GetHead(Error),
CurrentBranchName(Error),
GetCurrentBranchUpstream(Error),
GetCurrentBranchUpstreamUtf8(Utf8Error),
RemoteNameUtf8(Utf8Error),
CannotDeleteCurrentBranch,
BranchNameRequired,
IsBranchMerged(Error),
GetRemote(Error),
ReadGitConfig(Error),
ReadGitConfigUtf8(Utf8Error),
DeleteGitConfig(Error),
SetGitConfig(Error),
RemoteHasNoName,
ReadOid(Error),
ArgMustBePositiveNumber,
ArgInvalidRegex(Error),
Clipboard(Error),
FindGitRev(Error),
NoEditorSet,
GitStatus(Error),
CmdAlreadyRunning,
StashWorkTreeEmpty,
CouldntAwaitCmd(Error),
NoRepoWorkdir,
SpawnCmd(Error),
CmdBadExit(String, Option<i32>),
CouldntReadCmdOutput(Error),
ListGitReferences(Error),
OpenLogFile(Error),
PromptAborted,
NoMoreEvents,
}Expand description
Variants§
StashList(Error)
StashList(git2::Error),
ReadLog(Error)
ReadLog(git2::Error),
OpenRepo(Error)
OpenRepo(git2::Error),
FindGitDir(Error)
FindGitDir(io::Error),
Term(Error)
Term(io::Error),
GitDirUtf8(FromUtf8Error)
GitDirUtf8(string::FromUtf8Error),
Config(Error)
Config(figment::Error),
FileWatcher(Error)
FileWatcher(notify::Error),
ReadRebaseStatusFile(Error)
ReadRebaseStatusFile(io::Error),
ReadBranchName(Error)
ReadBranchName(io::Error),
BranchNameUtf8(Utf8Error)
BranchNameUtf8(Utf8Error),
GitDiff(Error)
GitDiff(io::Error),
GitDiffUtf8(FromUtf8Error)
GitDiffUtf8(string::FromUtf8Error),
GitShow(Error)
GitShow(io::Error),
GitShowUtf8(FromUtf8Error)
GitShowUtf8(string::FromUtf8Error),
GitShowMeta(Error)
GitShowMeta(git2::Error),
NotOnBranch
NotOnBranch,
GetHead(Error)
GetHead(git2::Error),
CurrentBranchName(Error)
CurrentBranchName(git2::Error),
GetCurrentBranchUpstream(Error)
GetCurrentBranchUpstream(git2::Error),
GetCurrentBranchUpstreamUtf8(Utf8Error)
GetCurrentBranchUpstreamUtf8(Utf8Error),
RemoteNameUtf8(Utf8Error)
RemoteNameUtf8(Utf8Error),
CannotDeleteCurrentBranch
CannotDeleteCurrentBranch,
BranchNameRequired
BranchNameRequired,
IsBranchMerged(Error)
IsBranchMerged(git2::Error),
GetRemote(Error)
GetRemote(git2::Error),
ReadGitConfig(Error)
ReadGitConfig(git2::Error),
ReadGitConfigUtf8(Utf8Error)
ReadGitConfigUtf8(Utf8Error),
DeleteGitConfig(Error)
DeleteGitConfig(git2::Error),
SetGitConfig(Error)
SetGitConfig(git2::Error),
RemoteHasNoName
RemoteHasNoName,
ReadOid(Error)
ReadOid(git2::Error),
ArgMustBePositiveNumber
ArgMustBePositiveNumber,
ArgInvalidRegex(Error)
ArgInvalidRegex(regex::Error),
Clipboard(Error)
Clipboard(arboard::Error),
FindGitRev(Error)
FindGitRev(git2::Error),
NoEditorSet
NoEditorSet,
GitStatus(Error)
GitStatus(git2::Error),
CmdAlreadyRunning
CmdAlreadyRunning,
StashWorkTreeEmpty
StashWorkTreeEmpty,
CouldntAwaitCmd(Error)
CouldntAwaitCmd(io::Error),
NoRepoWorkdir
NoRepoWorkdir,
SpawnCmd(Error)
SpawnCmd(io::Error),
CmdBadExit(String, Option<i32>)
CmdBadExit(String, Option<i32>),
CouldntReadCmdOutput(Error)
CouldntReadCmdOutput(io::Error),
ListGitReferences(Error)
ListGitReferences(git2::Error),
OpenLogFile(Error)
OpenLogFile(io::Error),
PromptAborted
PromptAborted,
NoMoreEvents
NoMoreEvents,
Trait Implementations§
Source§impl Error for Error
impl Error for Error
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
Source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
Source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
Source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
Source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
Source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more