Enum jj_lib::working_copy::CheckoutError
source · pub enum CheckoutError {
SourceNotFound {
source: Box<dyn Error + Send + Sync>,
},
ConcurrentCheckout,
IoError {
message: String,
err: Error,
},
InternalBackendError(BackendError),
TreeStateError(TreeStateError),
}
Variants§
SourceNotFound
ConcurrentCheckout
IoError
InternalBackendError(BackendError)
TreeStateError(TreeStateError)
Trait Implementations§
source§impl Debug for CheckoutError
impl Debug for CheckoutError
source§impl Display for CheckoutError
impl Display for CheckoutError
source§impl Error for CheckoutError
impl Error for CheckoutError
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<BackendError> for CheckoutError
impl From<BackendError> for CheckoutError
source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl !RefUnwindSafe for CheckoutError
impl Send for CheckoutError
impl Sync for CheckoutError
impl Unpin for CheckoutError
impl !UnwindSafe for CheckoutError
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