pub struct Run { /* private fields */ }Expand description
The --run operation of p4 extension.
Executes an extension-supplied command on an instance configuration.
Selected with ExtensionEntry::run.
Extra arguments the extension might need are passed at spawn time:
ParameterizedSpawn<()> spawns the command with no extra arguments, and
ParameterizedSpawn<(S,)> spawns it with an arbitrary number of them.
Trait Implementations§
Source§impl ExclusiveOption for Run
Available on non-crate feature lt2020_1 only.
impl ExclusiveOption for Run
Available on non-crate feature
lt2020_1 only.Source§fn inject_args(&self, command: &mut Command)
fn inject_args(&self, command: &mut Command)
Inject the CLI arguments corresponding to this selection into
command.Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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