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§
sourcefn handle(&self, network: VatNetwork<Compat<OwnedReadHalf>>) -> RpcSystem<Side>
fn handle(&self, network: VatNetwork<Compat<OwnedReadHalf>>) -> RpcSystem<Side>
Called on every connection.