Enum jj_lib::working_copy::TreeStateError
source · pub enum TreeStateError {
ReadTreeState {
path: PathBuf,
source: Error,
},
DecodeTreeState {
path: PathBuf,
source: DecodeError,
},
WriteTreeState {
path: PathBuf,
source: Error,
},
PersistTreeState {
path: PathBuf,
source: PersistError,
},
Fsmonitor(Box<dyn Error + Send + Sync>),
}
Variants§
ReadTreeState
DecodeTreeState
WriteTreeState
PersistTreeState
Fsmonitor(Box<dyn Error + Send + Sync>)
Trait Implementations§
source§impl Debug for TreeStateError
impl Debug for TreeStateError
source§impl Display for TreeStateError
impl Display for TreeStateError
source§impl Error for TreeStateError
impl Error for TreeStateError
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()
source§impl From<TreeStateError> for CheckoutError
impl From<TreeStateError> for CheckoutError
source§fn from(source: TreeStateError) -> Self
fn from(source: TreeStateError) -> Self
Converts to this type from the input type.
source§impl From<TreeStateError> for ResetError
impl From<TreeStateError> for ResetError
source§fn from(source: TreeStateError) -> Self
fn from(source: TreeStateError) -> Self
Converts to this type from the input type.
source§impl From<TreeStateError> for SnapshotError
impl From<TreeStateError> for SnapshotError
source§fn from(source: TreeStateError) -> Self
fn from(source: TreeStateError) -> Self
Converts to this type from the input type.
source§impl From<TreeStateError> for WorkspaceInitError
impl From<TreeStateError> for WorkspaceInitError
source§fn from(source: TreeStateError) -> Self
fn from(source: TreeStateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TreeStateError
impl Send for TreeStateError
impl Sync for TreeStateError
impl Unpin for TreeStateError
impl !UnwindSafe for TreeStateError
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