pub enum GenerationMutationError {
Show 24 variants
Plan(MutationPlanError),
Config(VolumeConfigError),
TooManyPaths,
InvalidInitialLinkCount,
UnsupportedSymbolicLink,
UnsupportedFileKind,
UnsupportedSparseMutation,
Path(PathLookupError),
FileRecord(FileRecordReadError),
MissingParent,
MissingSource,
AlreadyExists,
FileIdentityConflict,
FileIdentityAlreadyExists,
UnsupportedHardLink,
DirectoryCycle,
DirectoryNotEmpty,
InconsistentState,
Tree(TreeMutationError),
FileTable(FileTableMutationError),
Regular(RegularMutationError),
Directory(DirectoryReadError),
AllocationFailed,
Work(WorkError),
}Expand description
Stable one-volume generation transaction failures.
Variants§
Plan(MutationPlanError)
A path mutation planner rejected the batch.
Config(VolumeConfigError)
Volume limits or semantic configuration are invalid.
TooManyPaths
Mutation endpoints exceed the admitted shared-path batch bound.
InvalidInitialLinkCount
A newly created record must begin with exactly one namespace binding.
UnsupportedSymbolicLink
The volume does not admit symbolic links.
UnsupportedFileKind
The volume profile cannot represent the created kind exactly.
UnsupportedSparseMutation
The requested operation can introduce sparse semantics in a dense volume.
Path(PathLookupError)
Shared authenticated path resolution failed.
FileRecord(FileRecordReadError)
Created-identity freshness lookup failed.
MissingParent
One operation requires a parent directory absent from the candidate view.
MissingSource
One operation requires an existing source binding.
AlreadyExists
A create/link/rename destination expected absence.
FileIdentityConflict
A supplied exact file identity precondition failed.
FileIdentityAlreadyExists
A create reused an identity already present in the base or batch.
UnsupportedHardLink
A hard link targeted a directory or a volume without hard-link support.
DirectoryCycle
A directory move would place the directory below itself.
DirectoryNotEmpty
A removed or replaced directory is not empty in the candidate view.
InconsistentState
Authenticated state and sparse planning disagree.
Tree(TreeMutationError)
Directory path-copy failed.
FileTable(FileTableMutationError)
File-table path-copy failed.
Regular(RegularMutationError)
Regular-file sparse mutation failed.
Directory(DirectoryReadError)
Bounded empty-directory proof failed.
AllocationFailed
Bounded scratch storage could not be allocated.
Work(WorkError)
Exact work overflowed or exceeded the request budget.
Trait Implementations§
Source§impl Debug for GenerationMutationError
impl Debug for GenerationMutationError
Source§impl Display for GenerationMutationError
impl Display for GenerationMutationError
Source§impl Error for GenerationMutationError
impl Error for GenerationMutationError
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<DirectoryReadError> for GenerationMutationError
impl From<DirectoryReadError> for GenerationMutationError
Source§fn from(source: DirectoryReadError) -> Self
fn from(source: DirectoryReadError) -> Self
Source§impl From<FileRecordReadError> for GenerationMutationError
impl From<FileRecordReadError> for GenerationMutationError
Source§fn from(source: FileRecordReadError) -> Self
fn from(source: FileRecordReadError) -> Self
Source§impl From<FileTableMutationError> for GenerationMutationError
impl From<FileTableMutationError> for GenerationMutationError
Source§fn from(source: FileTableMutationError) -> Self
fn from(source: FileTableMutationError) -> Self
Source§impl From<GenerationMutationError> for FsError
impl From<GenerationMutationError> for FsError
Source§fn from(source: GenerationMutationError) -> Self
fn from(source: GenerationMutationError) -> Self
Source§impl From<MutationPlanError> for GenerationMutationError
impl From<MutationPlanError> for GenerationMutationError
Source§fn from(source: MutationPlanError) -> Self
fn from(source: MutationPlanError) -> Self
Source§impl From<PathLookupError> for GenerationMutationError
impl From<PathLookupError> for GenerationMutationError
Source§fn from(source: PathLookupError) -> Self
fn from(source: PathLookupError) -> Self
Source§impl From<RegularMutationError> for GenerationMutationError
impl From<RegularMutationError> for GenerationMutationError
Source§fn from(source: RegularMutationError) -> Self
fn from(source: RegularMutationError) -> Self
Source§impl From<TreeMutationError> for GenerationMutationError
impl From<TreeMutationError> for GenerationMutationError
Source§fn from(source: TreeMutationError) -> Self
fn from(source: TreeMutationError) -> Self
Source§impl From<VolumeConfigError> for GenerationMutationError
impl From<VolumeConfigError> for GenerationMutationError
Source§fn from(source: VolumeConfigError) -> Self
fn from(source: VolumeConfigError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for GenerationMutationError
impl !UnwindSafe for GenerationMutationError
impl Freeze for GenerationMutationError
impl Send for GenerationMutationError
impl Sync for GenerationMutationError
impl Unpin for GenerationMutationError
impl UnsafeUnpin for GenerationMutationError
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