pub struct CmdDisplay { /* private fields */ }Expand description
Owned snapshot of a command’s program + args, formatted shell-style on
Display. For pipelines, renders each stage separated by |.
If the source Cmd was marked .secret(), the args are
replaced with <secret> in Display output.
Implementations§
Source§impl CmdDisplay
impl CmdDisplay
Trait Implementations§
Source§impl Clone for CmdDisplay
impl Clone for CmdDisplay
Source§fn clone(&self) -> CmdDisplay
fn clone(&self) -> CmdDisplay
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 CmdDisplay
impl Debug for CmdDisplay
Auto Trait Implementations§
impl Freeze for CmdDisplay
impl RefUnwindSafe for CmdDisplay
impl Send for CmdDisplay
impl Sync for CmdDisplay
impl Unpin for CmdDisplay
impl UnsafeUnpin for CmdDisplay
impl UnwindSafe for CmdDisplay
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