pub struct LinuxNamespaceMutationStoreError { /* private fields */ }Expand description
Product-store failure returned at the Linux namespace boundary.
Implementations§
Source§impl LinuxNamespaceMutationStoreError
impl LinuxNamespaceMutationStoreError
Sourcepub fn new(
kind: LinuxNamespaceMutationStoreErrorKind,
context: impl Into<String>,
) -> Self
pub fn new( kind: LinuxNamespaceMutationStoreErrorKind, context: impl Into<String>, ) -> Self
Creates a classified store error with adapter-owned diagnostic context.
Sourcepub const fn kind(&self) -> LinuxNamespaceMutationStoreErrorKind
pub const fn kind(&self) -> LinuxNamespaceMutationStoreErrorKind
Returns the stable store-error classification.
Trait Implementations§
Source§impl Clone for LinuxNamespaceMutationStoreError
impl Clone for LinuxNamespaceMutationStoreError
Source§fn clone(&self) -> LinuxNamespaceMutationStoreError
fn clone(&self) -> LinuxNamespaceMutationStoreError
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 Error for LinuxNamespaceMutationStoreError
impl Error for LinuxNamespaceMutationStoreError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<LinuxNamespaceMutationStoreError> for LinuxCloudFilesError
impl From<LinuxNamespaceMutationStoreError> for LinuxCloudFilesError
Source§fn from(source: LinuxNamespaceMutationStoreError) -> Self
fn from(source: LinuxNamespaceMutationStoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LinuxNamespaceMutationStoreError
impl PartialEq for LinuxNamespaceMutationStoreError
Source§fn eq(&self, other: &LinuxNamespaceMutationStoreError) -> bool
fn eq(&self, other: &LinuxNamespaceMutationStoreError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LinuxNamespaceMutationStoreError
impl StructuralPartialEq for LinuxNamespaceMutationStoreError
Auto Trait Implementations§
impl Freeze for LinuxNamespaceMutationStoreError
impl RefUnwindSafe for LinuxNamespaceMutationStoreError
impl Send for LinuxNamespaceMutationStoreError
impl Sync for LinuxNamespaceMutationStoreError
impl Unpin for LinuxNamespaceMutationStoreError
impl UnwindSafe for LinuxNamespaceMutationStoreError
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