pub trait SignalingTopology<Cb = NoCallbacks, S = NoState>{
    // Required method
    fn state_machine<'async_trait>(
        upgrade: WsStateMeta<Cb, S>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>;
}
Expand description

Topology produced by the signaling server

Required Methods§

source

fn state_machine<'async_trait>( upgrade: WsStateMeta<Cb, S> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>

A run-to-completion state machine, spawned once for every socket.

Object Safety§

This trait is not object safe.

Implementors§