ControllerProxyInterface

Trait ControllerProxyInterface 

Source
pub trait ControllerProxyInterface: Send + Sync {
    type SuspendResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn suspend(
        &self,
        peer_id: Option<&PeerId>,
        token: ServerEnd<StreamSuspenderMarker>,
    ) -> Self::SuspendResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn suspend( &self, peer_id: Option<&PeerId>, token: ServerEnd<StreamSuspenderMarker>, ) -> Self::SuspendResponseFut

Implementors§