#[non_exhaustive]pub enum ErrorDomain {
Filesystem,
Nfs,
Smb,
Transport,
Client,
}Expand description
Namespace in which a status code is meaningful.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ErrorDomain
impl Clone for ErrorDomain
Source§fn clone(&self) -> ErrorDomain
fn clone(&self) -> ErrorDomain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ErrorDomain
Source§impl Debug for ErrorDomain
impl Debug for ErrorDomain
impl Eq for ErrorDomain
Source§impl PartialEq for ErrorDomain
impl PartialEq for ErrorDomain
impl StructuralPartialEq for ErrorDomain
Auto Trait Implementations§
impl Freeze for ErrorDomain
impl RefUnwindSafe for ErrorDomain
impl Send for ErrorDomain
impl Sync for ErrorDomain
impl Unpin for ErrorDomain
impl UnsafeUnpin for ErrorDomain
impl UnwindSafe for ErrorDomain
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