pub struct ExecutableCommand<C>where
C: Command,{ /* private fields */ }
Expand description
Bridges Command
s and Executable
s into
one type, which implements both traits.
Implementations§
Source§impl<C> ExecutableCommand<C>where
C: Command,
impl<C> ExecutableCommand<C>where
C: Command,
Sourcepub fn new(command: C) -> ExecutableCommand<C>
pub fn new(command: C) -> ExecutableCommand<C>
Creates a new ExecutableCommand
from
the specified Command
.
Trait Implementations§
Source§impl<C> Command for ExecutableCommand<C>where
C: Command,
impl<C> Command for ExecutableCommand<C>where
C: Command,
Source§impl<C> Executable for ExecutableCommand<C>where
C: Command,
impl<C> Executable for ExecutableCommand<C>where
C: Command,
Auto Trait Implementations§
impl<C> Freeze for ExecutableCommand<C>where
C: Freeze,
impl<C> RefUnwindSafe for ExecutableCommand<C>where
C: RefUnwindSafe,
impl<C> Send for ExecutableCommand<C>where
C: Send,
impl<C> Sync for ExecutableCommand<C>where
C: Sync,
impl<C> Unpin for ExecutableCommand<C>where
C: Unpin,
impl<C> UnwindSafe for ExecutableCommand<C>where
C: UnwindSafe,
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