pub enum RepositoryError {
Storage(Error),
Store(Error),
Doc(DocError),
Payload(PayloadError),
Git(Error),
GitExt(Error),
Quorum(QuorumError),
Refs(Error),
}
Expand description
Repository error.
Variants§
Storage(Error)
Store(Error)
Doc(DocError)
Payload(PayloadError)
Git(Error)
GitExt(Error)
Quorum(QuorumError)
Refs(Error)
Implementations§
Source§impl RepositoryError
impl RepositoryError
pub fn is_not_found(&self) -> bool
Trait Implementations§
Source§impl Debug for RepositoryError
impl Debug for RepositoryError
Source§impl Display for RepositoryError
impl Display for RepositoryError
Source§impl Error for RepositoryError
impl Error for RepositoryError
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<DocError> for RepositoryError
impl From<DocError> for RepositoryError
Source§fn from(source: DocError) -> RepositoryError
fn from(source: DocError) -> RepositoryError
Converts to this type from the input type.
Source§impl From<Error> for RepositoryError
impl From<Error> for RepositoryError
Source§fn from(source: Error) -> RepositoryError
fn from(source: Error) -> RepositoryError
Converts to this type from the input type.
Source§impl From<Error> for RepositoryError
impl From<Error> for RepositoryError
Source§fn from(source: Error) -> RepositoryError
fn from(source: Error) -> RepositoryError
Converts to this type from the input type.
Source§impl From<Error> for RepositoryError
impl From<Error> for RepositoryError
Source§fn from(source: Error) -> RepositoryError
fn from(source: Error) -> RepositoryError
Converts to this type from the input type.
Source§impl From<Error> for RepositoryError
impl From<Error> for RepositoryError
Source§fn from(source: Error) -> RepositoryError
fn from(source: Error) -> RepositoryError
Converts to this type from the input type.
Source§impl From<Error> for RepositoryError
impl From<Error> for RepositoryError
Source§fn from(source: Error) -> RepositoryError
fn from(source: Error) -> RepositoryError
Converts to this type from the input type.
Source§impl From<PayloadError> for RepositoryError
impl From<PayloadError> for RepositoryError
Source§fn from(source: PayloadError) -> RepositoryError
fn from(source: PayloadError) -> RepositoryError
Converts to this type from the input type.
Source§impl From<QuorumError> for RepositoryError
impl From<QuorumError> for RepositoryError
Source§fn from(source: QuorumError) -> RepositoryError
fn from(source: QuorumError) -> RepositoryError
Converts to this type from the input type.
Source§impl From<RepositoryError> for Cache
impl From<RepositoryError> for Cache
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for CheckoutError
impl From<RepositoryError> for CheckoutError
Source§fn from(source: RepositoryError) -> CheckoutError
fn from(source: RepositoryError) -> CheckoutError
Converts to this type from the input type.
Source§impl From<RepositoryError> for Error
impl From<RepositoryError> for Error
Source§fn from(source: RepositoryError) -> Error
fn from(source: RepositoryError) -> Error
Converts to this type from the input type.
Source§impl From<RepositoryError> for Error
impl From<RepositoryError> for Error
Source§fn from(source: RepositoryError) -> Error
fn from(source: RepositoryError) -> Error
Converts to this type from the input type.
Source§impl From<RepositoryError> for Error
impl From<RepositoryError> for Error
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for Fetch
impl From<RepositoryError> for Fetch
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for FetchError
impl From<RepositoryError> for FetchError
Source§fn from(source: RepositoryError) -> FetchError
fn from(source: RepositoryError) -> FetchError
Converts to this type from the input type.
Source§impl From<RepositoryError> for ForkError
impl From<RepositoryError> for ForkError
Source§fn from(source: RepositoryError) -> ForkError
fn from(source: RepositoryError) -> ForkError
Converts to this type from the input type.
Source§impl From<RepositoryError> for Handle
impl From<RepositoryError> for Handle
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for InitError
impl From<RepositoryError> for InitError
Source§fn from(source: RepositoryError) -> InitError
fn from(source: RepositoryError) -> InitError
Converts to this type from the input type.
Source§impl From<RepositoryError> for LookupError
impl From<RepositoryError> for LookupError
Source§fn from(source: RepositoryError) -> Self
fn from(source: RepositoryError) -> Self
Converts to this type from the input type.
Source§impl From<RepositoryError> for UploadError
impl From<RepositoryError> for UploadError
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 RepositoryError
impl !RefUnwindSafe for RepositoryError
impl Send for RepositoryError
impl Sync for RepositoryError
impl Unpin for RepositoryError
impl !UnwindSafe for RepositoryError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more