pub enum GenerationTransferError {
Cancelled(CancellationError),
Manifest(GenerationExportManifestError),
Closure(ClosureError),
Object(ObjectStoreError),
ManifestMismatch,
InvalidCursor,
EmptyBatch,
TooManyObjects,
AllocationFailed,
Work(WorkError),
}Expand description
Transfer validation, storage, closure, cancellation, and work failures.
Variants§
Cancelled(CancellationError)
Operation was cancelled before further transfer work.
Manifest(GenerationExportManifestError)
Manifest bytes or fields are noncanonical or out of bounds.
Closure(ClosureError)
Imported or exported closure authentication failed.
Object(ObjectStoreError)
Immutable object storage failed.
ManifestMismatch
Authenticated closure facts do not exactly match the manifest.
InvalidCursor
Cursor is beyond the canonical manifest end.
EmptyBatch
A nonterminal transfer page must request at least one object.
TooManyObjects
A transfer page exceeds its caller or manifest object bound.
AllocationFailed
Request-vector allocation failed after bounded admission.
Work(WorkError)
Exact work overflowed or exceeded the admitted budget.
Trait Implementations§
Source§impl Debug for GenerationTransferError
impl Debug for GenerationTransferError
Source§impl Display for GenerationTransferError
impl Display for GenerationTransferError
Source§impl Error for GenerationTransferError
impl Error for GenerationTransferError
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<CancellationError> for GenerationTransferError
impl From<CancellationError> for GenerationTransferError
Source§fn from(source: CancellationError) -> Self
fn from(source: CancellationError) -> Self
Converts to this type from the input type.
Source§impl From<ClosureError> for GenerationTransferError
impl From<ClosureError> for GenerationTransferError
Source§fn from(source: ClosureError) -> Self
fn from(source: ClosureError) -> Self
Converts to this type from the input type.
Source§impl From<GenerationExportManifestError> for GenerationTransferError
impl From<GenerationExportManifestError> for GenerationTransferError
Source§fn from(source: GenerationExportManifestError) -> Self
fn from(source: GenerationExportManifestError) -> Self
Converts to this type from the input type.
Source§impl From<GenerationTransferError> for FsError
impl From<GenerationTransferError> for FsError
Source§fn from(source: GenerationTransferError) -> Self
fn from(source: GenerationTransferError) -> Self
Converts to this type from the input type.
Source§impl From<ObjectStoreError> for GenerationTransferError
impl From<ObjectStoreError> for GenerationTransferError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for GenerationTransferError
impl !UnwindSafe for GenerationTransferError
impl Freeze for GenerationTransferError
impl Send for GenerationTransferError
impl Sync for GenerationTransferError
impl Unpin for GenerationTransferError
impl UnsafeUnpin for GenerationTransferError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request