pub enum WinePathError {
PrefixNotFound,
NoDrive,
}
Expand description
Error type.
Variants§
PrefixNotFound
Could not determine the wine prefix to use.
NoDrive
No drive letter → file path mapping is available for the given path.
Trait Implementations§
Source§impl Clone for WinePathError
impl Clone for WinePathError
Source§fn clone(&self) -> WinePathError
fn clone(&self) -> WinePathError
Returns a copy 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 Debug for WinePathError
impl Debug for WinePathError
Source§impl Display for WinePathError
impl Display for WinePathError
Source§impl Error for WinePathError
impl Error for WinePathError
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 PartialEq for WinePathError
impl PartialEq for WinePathError
impl Copy for WinePathError
impl Eq for WinePathError
impl StructuralPartialEq for WinePathError
Auto Trait Implementations§
impl Freeze for WinePathError
impl RefUnwindSafe for WinePathError
impl Send for WinePathError
impl Sync for WinePathError
impl Unpin for WinePathError
impl UnwindSafe for WinePathError
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