pub enum PushError<Storage: PinStore + BlobStore> {
StorageBranches(Storage::PinsError),
StorageReader(<Storage as BlobStore>::ReaderError),
StorageGet(<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>),
StoragePut(<Storage as BlobStorePut>::PutError),
BranchUpdate(Storage::UpdateError),
BadBranchMetadata(),
MergeError(MergeError),
}Variants§
StorageBranches(Storage::PinsError)
An error occurred while enumerating the branch storage branches.
StorageReader(<Storage as BlobStore>::ReaderError)
An error occurred while creating a blob reader.
StorageGet(<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>)
An error occurred while reading metadata blobs.
StoragePut(<Storage as BlobStorePut>::PutError)
An error occurred while transferring blobs to the repository.
BranchUpdate(Storage::UpdateError)
An error occurred while updating the branch storage.
BadBranchMetadata()
Malformed branch metadata.
MergeError(MergeError)
Merge failed while retrying a push.
Trait Implementations§
Auto Trait Implementations§
impl<Storage> Freeze for PushError<Storage>where
<Storage as PinStore>::PinsError: Freeze,
<Storage as BlobStore>::ReaderError: Freeze,
<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>: Freeze,
<Storage as BlobStorePut>::PutError: Freeze,
<Storage as PinStore>::UpdateError: Freeze,
impl<Storage> RefUnwindSafe for PushError<Storage>where
<Storage as PinStore>::PinsError: RefUnwindSafe,
<Storage as BlobStore>::ReaderError: RefUnwindSafe,
<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>: RefUnwindSafe,
<Storage as BlobStorePut>::PutError: RefUnwindSafe,
<Storage as PinStore>::UpdateError: RefUnwindSafe,
impl<Storage> Send for PushError<Storage>
impl<Storage> Sync for PushError<Storage>
impl<Storage> Unpin for PushError<Storage>where
<Storage as PinStore>::PinsError: Unpin,
<Storage as BlobStore>::ReaderError: Unpin,
<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>: Unpin,
<Storage as BlobStorePut>::PutError: Unpin,
<Storage as PinStore>::UpdateError: Unpin,
impl<Storage> UnsafeUnpin for PushError<Storage>where
<Storage as PinStore>::PinsError: UnsafeUnpin,
<Storage as BlobStore>::ReaderError: UnsafeUnpin,
<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>: UnsafeUnpin,
<Storage as BlobStorePut>::PutError: UnsafeUnpin,
<Storage as PinStore>::UpdateError: UnsafeUnpin,
impl<Storage> UnwindSafe for PushError<Storage>where
<Storage as PinStore>::PinsError: UnwindSafe,
<Storage as BlobStore>::ReaderError: UnwindSafe,
<<Storage as BlobStore>::Reader as BlobStoreGet>::GetError<UnarchiveError>: UnwindSafe,
<Storage as BlobStorePut>::PutError: UnwindSafe,
<Storage as PinStore>::UpdateError: UnwindSafe,
Blanket Implementations§
impl<T> ArchiveOwner for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 moreSource§impl<S, T> IntoEncoded<S> for Twhere
S: Encodes<T>,
impl<S, T> IntoEncoded<S> for Twhere
S: Encodes<T>,
Source§fn into_encoded(self) -> <T as IntoEncoded<S>>::Output
fn into_encoded(self) -> <T as IntoEncoded<S>>::Output
Run the conversion.