Skip to main content

WorkerRpc

Trait WorkerRpc 

Source
pub trait WorkerRpc: Send + Sync {
    type Runtime: RuntimeRpc;
    type Sandbox: SandboxRpc;
    type Container: ContainerRpc;
    type Image: ImageRpc;

    // Required methods
    fn runtime(&self) -> Self::Runtime;
    fn sandbox(&self) -> Self::Sandbox;
    fn container(&self) -> Self::Container;
    fn image(&self) -> Self::Image;
}
Expand description

Generated RPC trait for the Worker service.

Required Associated Types§

Required Methods§

Source

fn runtime(&self) -> Self::Runtime

Source

fn sandbox(&self) -> Self::Sandbox

Source

fn container(&self) -> Self::Container

Source

fn image(&self) -> Self::Image

Implementors§