pub enum CloneError {
Exists {
path: PathBuf,
},
Node(Error),
Storage(Error),
Checkout(CheckoutError),
Doc(DocError),
Payload(PayloadError),
Repository(RepositoryError),
NotFound(RepoId),
NoSeeds(RepoId),
Fetch(FetchError),
}Variants§
Exists
Node(Error)
Storage(Error)
Checkout(CheckoutError)
Doc(DocError)
Payload(PayloadError)
Repository(RepositoryError)
NotFound(RepoId)
NoSeeds(RepoId)
Fetch(FetchError)
Trait Implementations§
Source§impl Debug for CloneError
impl Debug for CloneError
Source§impl Display for CloneError
impl Display for CloneError
Source§impl Error for CloneError
impl Error for CloneError
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<CheckoutError> for CloneError
impl From<CheckoutError> for CloneError
Source§fn from(source: CheckoutError) -> Self
fn from(source: CheckoutError) -> Self
Converts to this type from the input type.
Source§impl From<DocError> for CloneError
impl From<DocError> for CloneError
Source§impl From<Error> for CloneError
impl From<Error> for CloneError
Source§impl From<Error> for CloneError
impl From<Error> for CloneError
Source§impl From<FetchError> for CloneError
impl From<FetchError> for CloneError
Source§fn from(source: FetchError) -> Self
fn from(source: FetchError) -> Self
Converts to this type from the input type.
Source§impl From<PayloadError> for CloneError
impl From<PayloadError> for CloneError
Source§fn from(source: PayloadError) -> Self
fn from(source: PayloadError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for CloneError
impl From<RepositoryError> for CloneError
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloneError
impl !RefUnwindSafe for CloneError
impl Send for CloneError
impl Sync for CloneError
impl Unpin for CloneError
impl !UnwindSafe for CloneError
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