Enum gix_worktree_state::checkout::Error
source · pub enum Error<E: Error + Send + Sync + 'static> {
IllformedUtf8 {
path: BString,
},
Time(SystemTimeError),
Io(Error),
Find {
err: E,
oid: ObjectId,
path: PathBuf,
},
Filter(Error),
FilterListDelayed(Error),
FilterFetchDelayed(Error),
FilterPathUnknown {
rela_path: BString,
},
FilterPathsUnprocessed {
rela_paths: Vec<BString>,
},
}
Expand description
The error returned by the checkout() function.
Variants§
IllformedUtf8
Time(SystemTimeError)
Io(Error)
Find
Filter(Error)
FilterListDelayed(Error)
FilterFetchDelayed(Error)
FilterPathUnknown
FilterPathsUnprocessed
Trait Implementations§
source§impl<E> Error for Error<E>where
E: Error + 'static + Send + Sync,
Self: Debug + Display,
impl<E> Error for Error<E>where E: Error + 'static + Send + Sync, Self: Debug + Display,
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<E> !RefUnwindSafe for Error<E>
impl<E> Send for Error<E>
impl<E> Sync for Error<E>
impl<E> Unpin for Error<E>where E: Unpin,
impl<E> !UnwindSafe for Error<E>
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