pub enum StagingError {
Failure(String, i32),
FileDoesNotExist(PathBuf),
}
Expand description
Failure to stage
Variants§
Trait Implementations§
Source§impl Debug for StagingError
impl Debug for StagingError
Source§impl Display for StagingError
impl Display for StagingError
Source§impl Error for StagingError
impl Error for StagingError
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<StagingError> for PosixError
impl From<StagingError> for PosixError
Source§fn from(e: StagingError) -> Self
fn from(e: StagingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StagingError
impl PartialEq for StagingError
impl Eq for StagingError
impl StructuralPartialEq for StagingError
Auto Trait Implementations§
impl Freeze for StagingError
impl RefUnwindSafe for StagingError
impl Send for StagingError
impl Sync for StagingError
impl Unpin for StagingError
impl UnwindSafe for StagingError
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