Trait sequoia_ipc::Handler

source ·
pub trait Handler {
    // Required method
    fn handle(
        &self,
        network: VatNetwork<Compat<OwnedReadHalf>>
    ) -> RpcSystem<Side>;
}
Expand description

Servers need to implement this trait.

Required Methods§

source

fn handle(&self, network: VatNetwork<Compat<OwnedReadHalf>>) -> RpcSystem<Side>

Called on every connection.

Implementors§