Enum std::sys::unix::process::process_common::ProgramKind
source · pub enum ProgramKind {
PathLookup,
Relative,
Absolute,
}
Variants§
PathLookup
A program that would be looked up on the PATH (e.g. ls
)
Relative
A relative path (e.g. my-dir/foo
, ../foo
, ./foo
)
Absolute
An absolute path.
Implementations§
Trait Implementations§
source§impl Clone for ProgramKind
impl Clone for ProgramKind
source§fn clone(&self) -> ProgramKind
fn clone(&self) -> ProgramKind
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 ProgramKind
impl Debug for ProgramKind
source§impl Eq for ProgramKind
impl Eq for ProgramKind
fn assert_receiver_is_total_eq(&self)
source§impl PartialEq<ProgramKind> for ProgramKind
impl PartialEq<ProgramKind> for ProgramKind
source§fn eq(&self, other: &ProgramKind) -> bool
fn eq(&self, other: &ProgramKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProgramKind
impl StructuralEq for ProgramKind
impl StructuralPartialEq for ProgramKind
Auto Trait Implementations§
impl RefUnwindSafe for ProgramKind
impl Send for ProgramKind
impl Sync for ProgramKind
impl Unpin for ProgramKind
impl UnwindSafe for ProgramKind
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