[][src]Trait capnp::capability::FromServer

pub trait FromServer<S>: FromClientHook {
    type Dispatch: Server + 'static + DerefMut<Target = S>;
    fn from_server(s: S) -> Self::Dispatch;
}

Trait to track the relationship between generated Server traits and Client structs.

Associated Types

type Dispatch: Server + 'static + DerefMut<Target = S>

Loading content...

Required methods

fn from_server(s: S) -> Self::Dispatch

Loading content...

Implementors

Loading content...