pub enum PythonVirtualEnvError {
Empty,
ContainsPathSeparator,
UnknownLabel,
}Expand description
Error returned when virtual environment metadata is invalid.
Variants§
Trait Implementations§
Source§impl Clone for PythonVirtualEnvError
impl Clone for PythonVirtualEnvError
Source§fn clone(&self) -> PythonVirtualEnvError
fn clone(&self) -> PythonVirtualEnvError
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 moreSource§impl Debug for PythonVirtualEnvError
impl Debug for PythonVirtualEnvError
Source§impl Display for PythonVirtualEnvError
impl Display for PythonVirtualEnvError
Source§impl Error for PythonVirtualEnvError
impl Error for PythonVirtualEnvError
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 PythonVirtualEnvError
impl PartialEq for PythonVirtualEnvError
Source§fn eq(&self, other: &PythonVirtualEnvError) -> bool
fn eq(&self, other: &PythonVirtualEnvError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PythonVirtualEnvError
impl Eq for PythonVirtualEnvError
impl StructuralPartialEq for PythonVirtualEnvError
Auto Trait Implementations§
impl Freeze for PythonVirtualEnvError
impl RefUnwindSafe for PythonVirtualEnvError
impl Send for PythonVirtualEnvError
impl Sync for PythonVirtualEnvError
impl Unpin for PythonVirtualEnvError
impl UnsafeUnpin for PythonVirtualEnvError
impl UnwindSafe for PythonVirtualEnvError
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