Trait capnp::capability::FromServer
source · pub trait FromServer<S>: FromClientHook {
type Dispatch: Server + 'static + DerefMut<Target = S>;
fn from_server(s: S) -> Self::Dispatch;
}
Expand description
Trait to track the relationship between generated Server traits and Client structs.