Struct GCProcessRunner
pub struct GCProcessRunner;Expand description
Starts and stops plugin runtimes via systemctl.
Trait Implementations§
§impl Clone for GCProcessRunner
impl Clone for GCProcessRunner
§fn clone(&self) -> GCProcessRunner
fn clone(&self) -> GCProcessRunner
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 more§impl Debug for GCProcessRunner
impl Debug for GCProcessRunner
§impl RuntimeRunner for GCProcessRunner
impl RuntimeRunner for GCProcessRunner
§fn start<'a>(
&'a self,
runtime_id: &'a str,
_host_network: bool,
) -> RunnerFuture<'a, Result<(), RunnerError>>
fn start<'a>( &'a self, runtime_id: &'a str, _host_network: bool, ) -> RunnerFuture<'a, Result<(), RunnerError>>
Start the runtime with the given ID. Read more
§fn stop<'a>(
&'a self,
runtime_id: &'a str,
) -> RunnerFuture<'a, Result<(), RunnerError>>
fn stop<'a>( &'a self, runtime_id: &'a str, ) -> RunnerFuture<'a, Result<(), RunnerError>>
Stop (and clean up) the runtime with the given ID.
§fn fetch_local_runtimes<'a>(&'a self) -> RunnerFuture<'a, Vec<String>>
fn fetch_local_runtimes<'a>(&'a self) -> RunnerFuture<'a, Vec<String>>
Returns the IDs of all locally-running runtimes managed by this runner.
impl Copy for GCProcessRunner
Auto Trait Implementations§
impl Freeze for GCProcessRunner
impl RefUnwindSafe for GCProcessRunner
impl Send for GCProcessRunner
impl Sync for GCProcessRunner
impl Unpin for GCProcessRunner
impl UnsafeUnpin for GCProcessRunner
impl UnwindSafe for GCProcessRunner
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