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