Skip to main content

FsError

Enum FsError 

Source
pub enum FsError {
Show 75 variants Cancelled(CancellationError), Config(VolumeConfigError), LocalStream(LocalStreamError), LocalObjects(LocalObjectsError), LocalObjectsBucket(ObjectsError), LocalRoot(Error), LocalOptionsConflict, LocalInitializationWorker, ObjectCacheConfig(ObjectCacheConfigError), CheckoutMode(CheckoutModeError), UnsupportedDurability, NameCollision, FileIdentityCollision, NonNormalizedName, UnsupportedCheckout, LiveRequiresSerializedAuthority, ExclusiveWriterConflict { actual: Head, }, ZeroLiveRetryLimit, LiveRetry(LiveRetryError), PendingLiveMutation, LiveConflict { conflicts: Vec<RebaseConflict>, truncated: bool, }, Authority(AuthorityStoreError), Object(ObjectStoreError), Closure(ClosureError), Decode(CanonicalDecodeError), VolumeCreated(VolumeCreatedError), RetentionCreated(RetentionCreatedError), Path(PathLookupError), Directory(DirectoryReadError), FileRecord(FileRecordReadError), FileRead(FileRangeReadError), BlobBuild(BlobBuildError), BlobRead(BlobReadError), AttributeLookup(AttributeLookupError), AttributeList(AttributeListError), AttributeMutation(AttributeMutationError), InlineFile(InlineFileDataError), NotFound, NotDirectory, NotSymbolicLink, NotReparsePoint, InvalidSpecialKind, UnsupportedFileKind, InvalidDirectoryRecord, InvalidExportManifest, Transfer(GenerationTransferError), Dependency(DependencyError), Probe(AuthenticatedProbeError), Rebase(RebaseError<AuthenticatedProbeError>), Mutation(GenerationMutationError), DetachedMutation(RegularMutationError), Checkpoint(CheckpointError), Publication(PublicationError), EmptyAuthority, InvalidAuthorityHistory, VolumeMismatch, CreationRejected, WorkspaceDeleted, WritableCheckoutRequiresHead, MutationNotAllowed, NoPendingMutations, RefreshNotAllowed, PendingMutationsRequireRebase, TooManyPendingMutations, ExcessiveMutationCapacity, PendingMutationAllocationFailed, PreparedMergePending, InvalidDiff, DiffAllocationFailed, GarbageCollectionAllocationFailed, MergeChangeLimit, MergeParentNotHead, MergeFileTable(FileTableMutationError), MergeTree(TreeMutationError), Work(WorkError),
}
Expand description

Fail-closed embedded facade errors.

Variants§

§

Cancelled(CancellationError)

Operation was cancelled before further facade work began.

§

Config(VolumeConfigError)

Volume configuration is invalid.

§

LocalStream(LocalStreamError)

Durable local Stream initialization or recovery failed.

§

LocalObjects(LocalObjectsError)

Durable local Objects initialization or recovery failed.

§

LocalObjectsBucket(ObjectsError)

The canonical filesystem Objects bucket could not be opened.

§

LocalRoot(Error)

Local provider root setup failed before either canonical provider opened.

§

LocalOptionsConflict

A live process-local engine already owns this root with different limits.

§

LocalInitializationWorker

The bounded local root initialization worker could not complete.

§

ObjectCacheConfig(ObjectCacheConfigError)

Immutable-object accelerator bounds are invalid.

§

CheckoutMode(CheckoutModeError)

Checkout behavior is contradictory.

§

UnsupportedDurability

Requested lifecycle is not guaranteed by the selected backends.

§

NameCollision

A new name collides with an existing sibling under the volume’s CaseSensitivity::ProfileFolded policy once both are case-folded, even though their exact bytes differ.

§

FileIdentityCollision

A caller-derived identity already names different authenticated state.

§

NonNormalizedName

A new name is not canonical Unicode NFC, required by the volume’s UnicodePolicy::RequireNfc policy.

§

UnsupportedCheckout

The facade does not yet expose this checkout behavior.

§

LiveRequiresSerializedAuthority

Direct-live mutation requires a serialized-authority volume.

§

ExclusiveWriterConflict

Another writer changed the authority before exclusive ownership could be acquired.

Fields

§actual: Head

Linearizable head that defeated this acquisition.

§

ZeroLiveRetryLimit

A direct-live operation requires a positive safe-retry bound.

§

LiveRetry(LiveRetryError)

Direct-live retry observations violated the canonical transition order.

§

PendingLiveMutation

A direct-live checkout already has an unresolved candidate operation.

§

LiveConflict

Live advancement would cross an exact observed or mutated region.

Fields

§conflicts: Vec<RebaseConflict>

Bounded region-specific conflicts.

§truncated: bool

Whether additional conflicts were omitted by the configured bound.

§

Authority(AuthorityStoreError)

Authority storage failed.

§

Object(ObjectStoreError)

Immutable object storage failed.

§

Closure(ClosureError)

Generation closure authentication failed.

§

Decode(CanonicalDecodeError)

Canonical filesystem data is malformed or unsupported.

§

VolumeCreated(VolumeCreatedError)

Canonical volume creation data is malformed or unsupported.

§

RetentionCreated(RetentionCreatedError)

Canonical generation-retention fact is invalid.

§

Path(PathLookupError)

Exact namespace-path resolution failed.

§

Directory(DirectoryReadError)

Bounded authenticated directory pagination failed.

§

FileRecord(FileRecordReadError)

Bounded authenticated file-record pagination failed.

§

FileRead(FileRangeReadError)

Composed sparse regular-file range read failed.

§

BlobBuild(BlobBuildError)

Bounded authenticated blob construction failed.

§

BlobRead(BlobReadError)

Authenticated blob-range reading failed.

§

AttributeLookup(AttributeLookupError)

Authenticated named-attribute lookup failed.

§

AttributeList(AttributeListError)

Authenticated named-attribute pagination failed.

§

AttributeMutation(AttributeMutationError)

Sparse named-attribute path-copy failed.

§

InlineFile(InlineFileDataError)

Tiny regular-file payload exceeded its canonical bound.

§

NotFound

Requested path is authentically absent.

§

NotDirectory

Requested operation requires a directory.

Requested operation requires a symbolic link.

§

NotReparsePoint

Requested operation requires an opaque Windows reparse point.

§

InvalidSpecialKind

Special-file creation selected a kind incompatible with its payload.

§

UnsupportedFileKind

The configured volume profile cannot represent this kind exactly.

§

InvalidDirectoryRecord

A directory binding and file-table record disagree or are missing.

§

InvalidExportManifest

Export manifest does not exactly match its authenticated closure.

§

Transfer(GenerationTransferError)

Resumable generation transfer validation or paging failed.

§

Dependency(DependencyError)

Checkout dependency capture failed.

§

Probe(AuthenticatedProbeError)

Exact authenticated dependency probing failed.

§

Rebase(RebaseError<AuthenticatedProbeError>)

Observation-safe rebase classification failed.

§

Mutation(GenerationMutationError)

One ordered generation mutation failed.

§

DetachedMutation(RegularMutationError)

Path-independent open-file mutation failed.

§

Checkpoint(CheckpointError)

Immutable checkpoint construction failed.

§

Publication(PublicationError)

Whole-closure generation publication failed.

§

EmptyAuthority

Authority exists but has no volume creation fact.

§

InvalidAuthorityHistory

Authority records do not contain the expected volume event.

§

VolumeMismatch

Authenticated data belongs to another volume.

§

CreationRejected

Concurrent creation/publication produced a semantic conflict.

§

WorkspaceDeleted

The named workspace has been terminally deleted.

§

WritableCheckoutRequiresHead

Writable overlays must be opened from the current authority head.

§

MutationNotAllowed

Mutation was requested from a checkout that cannot mutate.

§

NoPendingMutations

Commit was requested without a changed candidate generation.

§

RefreshNotAllowed

Explicit head refresh requires manual checkout consistency.

§

PendingMutationsRequireRebase

A dirty overlay must be safely rebased or discarded before refresh.

§

TooManyPendingMutations

Uncommitted operations exceed the volume’s atomic replay bound.

§

ExcessiveMutationCapacity

Caller-supplied mutation storage exceeds the admitted persistent bound.

§

PendingMutationAllocationFailed

Retaining a bounded replay log failed.

§

PreparedMergePending

A prepared two-parent merge must be committed or discarded before mutation/rebase.

§

InvalidDiff

Diff roots or persistent page structure do not match the admitted format.

§

DiffAllocationFailed

Bounded diff result allocation failed.

§

GarbageCollectionAllocationFailed

Bounded local live-set allocation failed before physical collection.

§

MergeChangeLimit

A three-way merge exceeded its admitted change frontier.

§

MergeParentNotHead

The selected second parent is not the current authority head.

§

MergeFileTable(FileTableMutationError)

Sparse file-table merge application failed.

§

MergeTree(TreeMutationError)

Sparse directory-tree merge application failed.

§

Work(WorkError)

Exact work overflowed or exceeded the admitted budget.

Trait Implementations§

Source§

impl Debug for FsError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for FsError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for FsError

Source§

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

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AttributeListError> for FsError

Source§

fn from(source: AttributeListError) -> Self

Converts to this type from the input type.
Source§

impl From<AttributeLookupError> for FsError

Source§

fn from(source: AttributeLookupError) -> Self

Converts to this type from the input type.
Source§

impl From<AttributeMutationError> for FsError

Source§

fn from(source: AttributeMutationError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthenticatedProbeError> for FsError

Source§

fn from(source: AuthenticatedProbeError) -> Self

Converts to this type from the input type.
Source§

impl From<AuthorityStoreError> for FsError

Source§

fn from(source: AuthorityStoreError) -> Self

Converts to this type from the input type.
Source§

impl From<BlobBuildError> for FsError

Source§

fn from(source: BlobBuildError) -> Self

Converts to this type from the input type.
Source§

impl From<BlobReadError> for FsError

Source§

fn from(source: BlobReadError) -> Self

Converts to this type from the input type.
Source§

impl From<CancellationError> for FsError

Source§

fn from(source: CancellationError) -> Self

Converts to this type from the input type.
Source§

impl From<CanonicalDecodeError> for FsError

Source§

fn from(source: CanonicalDecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<CheckoutModeError> for FsError

Source§

fn from(source: CheckoutModeError) -> Self

Converts to this type from the input type.
Source§

impl From<CheckpointError> for FsError

Source§

fn from(source: CheckpointError) -> Self

Converts to this type from the input type.
Source§

impl From<ClosureError> for FsError

Source§

fn from(source: ClosureError) -> Self

Converts to this type from the input type.
Source§

impl From<DependencyError> for FsError

Source§

fn from(source: DependencyError) -> Self

Converts to this type from the input type.
Source§

impl From<DirectoryReadError> for FsError

Source§

fn from(source: DirectoryReadError) -> Self

Converts to this type from the input type.
Source§

impl From<FileRangeReadError> for FsError

Source§

fn from(source: FileRangeReadError) -> Self

Converts to this type from the input type.
Source§

impl From<FileRecordReadError> for FsError

Source§

fn from(source: FileRecordReadError) -> Self

Converts to this type from the input type.
Source§

impl From<FileTableMutationError> for FsError

Source§

fn from(source: FileTableMutationError) -> Self

Converts to this type from the input type.
Source§

impl From<FsError> for WorkspaceError

Source§

fn from(error: FsError) -> Self

Converts to this type from the input type.
Source§

impl From<GenerationMutationError> for FsError

Source§

fn from(source: GenerationMutationError) -> Self

Converts to this type from the input type.
Source§

impl From<GenerationTransferError> for FsError

Source§

fn from(source: GenerationTransferError) -> Self

Converts to this type from the input type.
Source§

impl From<InlineFileDataError> for FsError

Source§

fn from(source: InlineFileDataError) -> Self

Converts to this type from the input type.
Source§

impl From<LiveRetryError> for FsError

Source§

fn from(source: LiveRetryError) -> Self

Converts to this type from the input type.
Source§

impl From<LocalObjectsError> for FsError

Source§

fn from(source: LocalObjectsError) -> Self

Converts to this type from the input type.
Source§

impl From<LocalStreamError> for FsError

Source§

fn from(source: LocalStreamError) -> Self

Converts to this type from the input type.
Source§

impl From<ObjectCacheConfigError> for FsError

Source§

fn from(source: ObjectCacheConfigError) -> Self

Converts to this type from the input type.
Source§

impl From<ObjectStoreError> for FsError

Source§

fn from(source: ObjectStoreError) -> Self

Converts to this type from the input type.
Source§

impl From<PathLookupError> for FsError

Source§

fn from(source: PathLookupError) -> Self

Converts to this type from the input type.
Source§

impl From<PublicationError> for FsError

Source§

fn from(source: PublicationError) -> Self

Converts to this type from the input type.
Source§

impl From<RebaseError<AuthenticatedProbeError>> for FsError

Source§

fn from(source: RebaseError<AuthenticatedProbeError>) -> Self

Converts to this type from the input type.
Source§

impl From<RegularMutationError> for FsError

Source§

fn from(source: RegularMutationError) -> Self

Converts to this type from the input type.
Source§

impl From<RetentionCreatedError> for FsError

Source§

fn from(source: RetentionCreatedError) -> Self

Converts to this type from the input type.
Source§

impl From<TreeMutationError> for FsError

Source§

fn from(source: TreeMutationError) -> Self

Converts to this type from the input type.
Source§

impl From<VolumeConfigError> for FsError

Source§

fn from(source: VolumeConfigError) -> Self

Converts to this type from the input type.
Source§

impl From<VolumeCreatedError> for FsError

Source§

fn from(source: VolumeCreatedError) -> Self

Converts to this type from the input type.
Source§

impl From<WorkError> for FsError

Source§

fn from(source: WorkError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<L> LayerExt<L> for L

Source§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in Layered.
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> StorageFuture for T
where T: Send,

Source§

impl<T> StorageProvider for T
where T: Send + Sync + ?Sized,

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more