pub enum PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>{
BranchNotFound(Id),
BranchStorage(BranchStorageErr),
BlobReader(BlobReaderErr),
BlobStorage(BlobStorageErr),
BadBranchMetadata(),
}Expand description
Error returned by Repository::pull.
Variants§
BranchNotFound(Id)
The branch does not exist in the repository.
BranchStorage(BranchStorageErr)
An error occurred while accessing the branch storage.
BlobReader(BlobReaderErr)
An error occurred while creating a blob reader.
BlobStorage(BlobStorageErr)
An error occurred while accessing the blob storage.
BadBranchMetadata()
The branch metadata is malformed or does not contain the expected fields.
Trait Implementations§
Auto Trait Implementations§
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> Freeze for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> RefUnwindSafe for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> Send for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> Sync for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> Unpin for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> UnsafeUnpin for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
impl<BranchStorageErr, BlobReaderErr, BlobStorageErr> UnwindSafe for PullError<BranchStorageErr, BlobReaderErr, BlobStorageErr>
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