Enum jj_lib::workspace::WorkspaceInitError
source · pub enum WorkspaceInitError {
DestinationExists(PathBuf),
NonUnicodePath,
CheckOutCommit(CheckOutCommitError),
TreeState(TreeStateError),
Path(PathError),
Backend(BackendInitError),
}
Variants§
DestinationExists(PathBuf)
NonUnicodePath
CheckOutCommit(CheckOutCommitError)
TreeState(TreeStateError)
Path(PathError)
Backend(BackendInitError)
Trait Implementations§
source§impl Debug for WorkspaceInitError
impl Debug for WorkspaceInitError
source§impl Display for WorkspaceInitError
impl Display for WorkspaceInitError
source§impl Error for WorkspaceInitError
impl Error for WorkspaceInitError
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<BackendInitError> for WorkspaceInitError
impl From<BackendInitError> for WorkspaceInitError
source§fn from(source: BackendInitError) -> Self
fn from(source: BackendInitError) -> Self
Converts to this type from the input type.
source§impl From<CheckOutCommitError> for WorkspaceInitError
impl From<CheckOutCommitError> for WorkspaceInitError
source§fn from(source: CheckOutCommitError) -> Self
fn from(source: CheckOutCommitError) -> Self
Converts to this type from the input type.
source§impl From<PathError> for WorkspaceInitError
impl From<PathError> for WorkspaceInitError
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 WorkspaceInitError
impl Send for WorkspaceInitError
impl Sync for WorkspaceInitError
impl Unpin for WorkspaceInitError
impl !UnwindSafe for WorkspaceInitError
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