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.