pub struct Server<R: Runtime> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<R: Runtime> RuntimeService for Server<R>
impl<R: Runtime> RuntimeService for Server<R>
Source§fn run_process(&self, run: RunProcess) -> AsyncResponse<'_, RunProcessResp>
fn run_process(&self, run: RunProcess) -> AsyncResponse<'_, RunProcessResp>
Spawn a process
Source§fn kill_process(&self, kill: KillProcess) -> AsyncResponse<'_, ()>
fn kill_process(&self, kill: KillProcess) -> AsyncResponse<'_, ()>
Kill a spawned process
Source§fn create_network(
&self,
network: CreateNetwork,
) -> AsyncResponse<'_, CreateNetworkResp>
fn create_network( &self, network: CreateNetwork, ) -> AsyncResponse<'_, CreateNetworkResp>
Setup a virtual private network
Source§fn shutdown(&self) -> AsyncResponse<'_, ()>
fn shutdown(&self) -> AsyncResponse<'_, ()>
Perform service shutdown
Auto Trait Implementations§
impl<R> Freeze for Server<R>
impl<R> !RefUnwindSafe for Server<R>
impl<R> !Send for Server<R>
impl<R> !Sync for Server<R>
impl<R> Unpin for Server<R>
impl<R> !UnwindSafe for Server<R>
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