pub struct CommandFingerprint {
program: OsString,
args: Vec<OsString>,
envs: Vec<(OsString, Option<OsString>)>,
cwd: Option<PathBuf>,
}
Fields§
§program: OsString
§args: Vec<OsString>
§envs: Vec<(OsString, Option<OsString>)>
§cwd: Option<PathBuf>
Implementations§
Source§impl CommandFingerprint
impl CommandFingerprint
Sourcepub fn format_short_cmd(&self) -> String
pub fn format_short_cmd(&self) -> String
Helper method to format both Command and BootstrapCommand as a short execution line, without all the other details (e.g. environment variables).
Trait Implementations§
Source§impl Clone for CommandFingerprint
impl Clone for CommandFingerprint
Source§fn clone(&self) -> CommandFingerprint
fn clone(&self) -> CommandFingerprint
Returns a duplicate 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 CommandFingerprint
impl Debug for CommandFingerprint
Source§impl Default for CommandFingerprint
impl Default for CommandFingerprint
Source§fn default() -> CommandFingerprint
fn default() -> CommandFingerprint
Returns the “default value” for a type. Read more
Source§impl Hash for CommandFingerprint
impl Hash for CommandFingerprint
Source§impl PartialEq for CommandFingerprint
impl PartialEq for CommandFingerprint
impl Eq for CommandFingerprint
impl StructuralPartialEq for CommandFingerprint
Auto Trait Implementations§
impl Freeze for CommandFingerprint
impl RefUnwindSafe for CommandFingerprint
impl Send for CommandFingerprint
impl Sync for CommandFingerprint
impl Unpin for CommandFingerprint
impl UnwindSafe for CommandFingerprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes