pub trait FromServer<S>: FromClientHook {
    type Dispatch: Server + 'static + DerefMut<Target = S>;

    // Required method
    fn from_server(s: S) -> Self::Dispatch;
}
Expand description

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

Required Associated Types§

source

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

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementors§