pub enum Error {
GenericWindows(Error),
MarkProjectionRoot(Error),
StartProjection(Error),
WindowsFeatureNotEnabled,
LibraryError(Error),
}
Expand description
Possible errors which can occurr while library usage.
Variants§
GenericWindows(Error)
A generic error occurred within the underlying Windows API
MarkProjectionRoot(Error)
Failed to create the projection root directory
StartProjection(Error)
Failed to start the projection
WindowsFeatureNotEnabled
The Windows feature “Projected File System” is not enabled. This feature has to be enabled before using this library.
Note: This error can only occurr with feature “dynamic-import” else you would receive a DLL loading error when starting your application.
LibraryError(Error)
Failed to resolve certain Windows project fs API imports which are required for this library to work.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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