pub enum WorkspaceError {
Show 23 variants
Name(WorkspaceNameError),
Engine(String),
Cancelled(CancellationError),
Work(WorkError),
ForeignGeneration,
StaleGeneration,
StaleIdentity,
Path(String),
NotFound,
NotRegularFile,
NotDirectory,
ReadLimitExceeded,
RetentionConflict,
IncompatibleWorkspace,
NoCommonAncestor,
LineageLimit,
JoinLimit,
InvalidMergeResolution,
ChangeSetContinuity,
ChangedPathLimit,
EmptyContentSet,
NotFork,
ContentLengthOverflow,
}Expand description
Customer workspace operation failure.
Variants§
Name(WorkspaceNameError)
Friendly name was invalid.
Engine(String)
The canonical engine rejected or could not complete the operation.
Cancelled(CancellationError)
Caller cancellation stopped a measured workspace operation.
Work(WorkError)
A measured workspace operation exhausted its admitted work budget.
ForeignGeneration
A fork generation belongs to another filesystem deployment.
StaleGeneration
A caller-pinned target generation is no longer current.
StaleIdentity
A conditional mutation targeted a different filesystem identity.
Path(String)
Canonical customer path was invalid.
NotFound
Requested path does not exist.
NotRegularFile
An operation required a regular file.
NotDirectory
An operation required a directory.
ReadLimitExceeded
A bounded whole-file helper encountered a larger file.
RetentionConflict
A retention label already identifies different immutable state.
IncompatibleWorkspace
Workspace semantics or lineage are incompatible for the requested join.
NoCommonAncestor
No common immutable ancestor exists within the admitted lineage.
LineageLimit
Bounded lineage discovery exhausted its exact generation frontier.
JoinLimit
Join input, diff, or conflict bounds are zero or exhausted.
InvalidMergeResolution
A declarative merge resolution does not match its typed conflict.
ChangeSetContinuity
Change sets do not share one exact contiguous endpoint and deployment.
ChangedPathLimit
Resolving changed paths exhausted the caller’s namespace traversal bound.
EmptyContentSet
A staged concatenation omitted every part.
NotFork
The workspace has no authenticated foreign source in its ancestry.
ContentLengthOverflow
Staged logical lengths overflowed the filesystem range.
Trait Implementations§
Source§impl Debug for WorkspaceError
impl Debug for WorkspaceError
Source§impl Display for WorkspaceError
impl Display for WorkspaceError
Source§impl Error for WorkspaceError
impl Error for WorkspaceError
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<CancellationError> for WorkspaceError
impl From<CancellationError> for WorkspaceError
Source§fn from(source: CancellationError) -> Self
fn from(source: CancellationError) -> Self
Source§impl From<FsError> for WorkspaceError
impl From<FsError> for WorkspaceError
Source§impl From<WorkError> for WorkspaceError
impl From<WorkError> for WorkspaceError
Source§impl From<WorkspaceError> for GitPatchError
impl From<WorkspaceError> for GitPatchError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceError> for GitCaptureError
impl From<WorkspaceError> for GitCaptureError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl<E: Error + 'static> From<WorkspaceError> for WorkspaceLineageError<E>
impl<E: Error + 'static> From<WorkspaceError> for WorkspaceLineageError<E>
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceError> for NativeWorkspacePublicationError
impl From<WorkspaceError> for NativeWorkspacePublicationError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl<E: Error + 'static> From<WorkspaceError> for WorkspaceMultiRootPublisherError<E>
impl<E: Error + 'static> From<WorkspaceError> for WorkspaceMultiRootPublisherError<E>
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceError> for MountLifecycleError
impl From<WorkspaceError> for MountLifecycleError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceError> for S3Error
impl From<WorkspaceError> for S3Error
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceError> for DrivenJoinError
impl From<WorkspaceError> for DrivenJoinError
Source§fn from(source: WorkspaceError) -> Self
fn from(source: WorkspaceError) -> Self
Source§impl From<WorkspaceNameError> for WorkspaceError
impl From<WorkspaceNameError> for WorkspaceError
Source§fn from(source: WorkspaceNameError) -> Self
fn from(source: WorkspaceNameError) -> Self
Auto Trait Implementations§
impl Freeze for WorkspaceError
impl RefUnwindSafe for WorkspaceError
impl Send for WorkspaceError
impl Sync for WorkspaceError
impl Unpin for WorkspaceError
impl UnsafeUnpin for WorkspaceError
impl UnwindSafe for WorkspaceError
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