pub enum OpenError {
GetDefaultProviderError {
err: Box<ModelError>,
},
CapabilityProviderNotFound,
CapabilityProviderError {
err: CapabilityProviderError,
},
OpenStorageError {
err: Box<ModelError>,
},
VfsOpenError {
err: OpenError,
},
Timeout,
DoesNotSupportOpen(ConversionError),
WatcherCreateError {
err: WatcherCreateError,
},
DirectoryDeleted,
}
Variants§
GetDefaultProviderError
Fields
§
err: Box<ModelError>
CapabilityProviderNotFound
CapabilityProviderError
Fields
OpenStorageError
Fields
§
err: Box<ModelError>
VfsOpenError
Timeout
DoesNotSupportOpen(ConversionError)
WatcherCreateError
Fields
§
err: WatcherCreateError
DirectoryDeleted
Trait Implementations§
Source§impl Error for OpenError
impl Error for OpenError
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<CapabilityProviderError> for OpenError
impl From<CapabilityProviderError> for OpenError
Source§fn from(source: CapabilityProviderError) -> Self
fn from(source: CapabilityProviderError) -> Self
Converts to this type from the input type.
Source§impl From<OpenError> for ModelError
impl From<OpenError> for ModelError
Source§impl From<WatcherCreateError> for OpenError
impl From<WatcherCreateError> for OpenError
Source§fn from(source: WatcherCreateError) -> Self
fn from(source: WatcherCreateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpenError
impl !RefUnwindSafe for OpenError
impl Send for OpenError
impl Sync for OpenError
impl Unpin for OpenError
impl !UnwindSafe for OpenError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)