pub enum ClosureError {
Show 22 variants
WrongObjectKind,
RoutingAlias,
RoutingBoundsMismatch,
TooManyObjects {
observed: u64,
maximum: u64,
},
TooManyFiles {
observed: u64,
maximum: u64,
},
ClosureBytesExceeded {
observed: u64,
maximum: u64,
},
DuplicateFileRecord(FileId),
MissingRootFile,
RootIsNotDirectory,
UnsupportedVolumeSemantics,
MissingFileRecord(FileId),
NamespaceKindMismatch(FileId),
LinkCountMismatch(FileId),
DirectoryHardLink(FileId),
MissingDirectoryTree(FileId),
UnreachableFileRecords,
BlobLengthMismatch,
BlobSpanOutsideObject,
RangeOverflow,
Storage(ObjectStoreError),
Decode(CanonicalDecodeError),
Work(WorkError),
}Expand description
Whole-generation proof failures.
Variants§
WrongObjectKind
Typed object reference has the wrong class.
RoutingAlias
Same object was encountered twice where the graph requires a tree.
RoutingBoundsMismatch
Parent lower/upper bounds do not match authenticated child content.
TooManyObjects
Closure exceeds its object-count bound.
TooManyFiles
Closure exceeds its file-count bound.
ClosureBytesExceeded
Closure exceeds its cumulative canonical-byte bound.
DuplicateFileRecord(FileId)
File table contains the same stable identity twice.
MissingRootFile
Root file record is absent.
RootIsNotDirectory
Root file is not a directory.
UnsupportedVolumeSemantics
A record or extent exceeds the volume’s declared semantic capabilities.
MissingFileRecord(FileId)
Namespace references an absent file record.
NamespaceKindMismatch(FileId)
Namespace entry kind differs from its file record.
LinkCountMismatch(FileId)
Recorded hard-link count differs from exact namespace references.
DirectoryHardLink(FileId)
Directories cannot have hard links.
MissingDirectoryTree(FileId)
Directory record has no proven namespace tree.
UnreachableFileRecords
File table contains records unreachable from the root.
BlobLengthMismatch
Blob logical length differs from its declared use.
BlobSpanOutsideObject
Extent references bytes outside its blob.
RangeOverflow
Offset/count arithmetic overflowed.
Storage(ObjectStoreError)
Immutable object backend failed.
Decode(CanonicalDecodeError)
Canonical object failed decoding or semantic validation.
Work(WorkError)
Exact work exceeded or overflowed its budget.
Trait Implementations§
Source§impl Debug for ClosureError
impl Debug for ClosureError
Source§impl Display for ClosureError
impl Display for ClosureError
Source§impl Error for ClosureError
impl Error for ClosureError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<CanonicalDecodeError> for ClosureError
impl From<CanonicalDecodeError> for ClosureError
Source§fn from(source: CanonicalDecodeError) -> Self
fn from(source: CanonicalDecodeError) -> Self
Source§impl From<ClosureError> for FsError
impl From<ClosureError> for FsError
Source§fn from(source: ClosureError) -> Self
fn from(source: ClosureError) -> Self
Source§impl From<ClosureError> for PublicationError
impl From<ClosureError> for PublicationError
Source§fn from(source: ClosureError) -> Self
fn from(source: ClosureError) -> Self
Source§impl From<ClosureError> for GenerationTransferError
impl From<ClosureError> for GenerationTransferError
Source§fn from(source: ClosureError) -> Self
fn from(source: ClosureError) -> Self
Source§impl From<ObjectStoreError> for ClosureError
impl From<ObjectStoreError> for ClosureError
Source§fn from(source: ObjectStoreError) -> Self
fn from(source: ObjectStoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for ClosureError
impl !UnwindSafe for ClosureError
impl Freeze for ClosureError
impl Send for ClosureError
impl Sync for ClosureError
impl Unpin for ClosureError
impl UnsafeUnpin for ClosureError
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
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>
T in a tonic::Request