pub enum PipCommand {
Install,
Uninstall,
Freeze,
List,
Show,
Check,
Download,
Wheel,
Config,
}Expand description
Common pip command labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PipCommand
impl Clone for PipCommand
Source§fn clone(&self) -> PipCommand
fn clone(&self) -> PipCommand
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 PipCommand
impl Debug for PipCommand
Source§impl Display for PipCommand
impl Display for PipCommand
Source§impl FromStr for PipCommand
impl FromStr for PipCommand
Source§type Err = PipTextError
type Err = PipTextError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<PipCommand, <PipCommand as FromStr>::Err>
fn from_str(input: &str) -> Result<PipCommand, <PipCommand as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PipCommand
impl Hash for PipCommand
Source§impl Ord for PipCommand
impl Ord for PipCommand
Source§fn cmp(&self, other: &PipCommand) -> Ordering
fn cmp(&self, other: &PipCommand) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PipCommand
impl PartialEq for PipCommand
Source§fn eq(&self, other: &PipCommand) -> bool
fn eq(&self, other: &PipCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PipCommand
impl PartialOrd for PipCommand
impl Copy for PipCommand
impl Eq for PipCommand
impl StructuralPartialEq for PipCommand
Auto Trait Implementations§
impl Freeze for PipCommand
impl RefUnwindSafe for PipCommand
impl Send for PipCommand
impl Sync for PipCommand
impl Unpin for PipCommand
impl UnsafeUnpin for PipCommand
impl UnwindSafe for PipCommand
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