pub enum LinuxNamespaceMutationStoreErrorKind {
NotFound,
AlreadyExists,
DirectoryNotEmpty,
IsDirectory,
NotDirectory,
Unsupported,
Fenced,
Conflict,
PersistenceFailure,
}Expand description
Stable classification of a Linux namespace persistence failure.
Variants§
NotFound
The requested parent, item, or durable staging record does not exist.
AlreadyExists
The requested parent/name pair already exists.
DirectoryNotEmpty
A directory removal was rejected because durable children still exist.
IsDirectory
The requested operation expected a regular file but resolved a directory.
NotDirectory
The requested operation expected a directory but resolved another item kind.
Unsupported
The product store does not implement this namespace operation.
Fenced
A newer mount generation rejected the request.
Conflict
Durable identity or namespace state conflicts with the requested transition.
PersistenceFailure
The product store did not durably complete the requested transaction.
Trait Implementations§
Source§impl Clone for LinuxNamespaceMutationStoreErrorKind
impl Clone for LinuxNamespaceMutationStoreErrorKind
Source§fn clone(&self) -> LinuxNamespaceMutationStoreErrorKind
fn clone(&self) -> LinuxNamespaceMutationStoreErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for LinuxNamespaceMutationStoreErrorKind
impl PartialEq for LinuxNamespaceMutationStoreErrorKind
Source§fn eq(&self, other: &LinuxNamespaceMutationStoreErrorKind) -> bool
fn eq(&self, other: &LinuxNamespaceMutationStoreErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LinuxNamespaceMutationStoreErrorKind
impl Eq for LinuxNamespaceMutationStoreErrorKind
impl StructuralPartialEq for LinuxNamespaceMutationStoreErrorKind
Auto Trait Implementations§
impl Freeze for LinuxNamespaceMutationStoreErrorKind
impl RefUnwindSafe for LinuxNamespaceMutationStoreErrorKind
impl Send for LinuxNamespaceMutationStoreErrorKind
impl Sync for LinuxNamespaceMutationStoreErrorKind
impl Unpin for LinuxNamespaceMutationStoreErrorKind
impl UnwindSafe for LinuxNamespaceMutationStoreErrorKind
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