pub enum SplitError {
WorkTreeDirty,
Failure(String),
}
Expand description
Failed to split subtree
Variants§
Trait Implementations§
Source§impl Debug for SplitError
impl Debug for SplitError
Source§impl Display for SplitError
impl Display for SplitError
Source§impl Error for SplitError
impl Error for SplitError
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<SplitError> for PosixError
impl From<SplitError> for PosixError
Source§fn from(err: SplitError) -> Self
fn from(err: SplitError) -> Self
Converts to this type from the input type.
Source§impl From<SubtreeSplitError> for SplitError
impl From<SubtreeSplitError> for SplitError
Source§fn from(prev: SubtreeSplitError) -> Self
fn from(prev: SubtreeSplitError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SplitError
impl RefUnwindSafe for SplitError
impl Send for SplitError
impl Sync for SplitError
impl Unpin for SplitError
impl UnwindSafe for SplitError
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