[][src]Trait actix_wamp::RpcEndpoint

pub trait RpcEndpoint {
    type Response: Future<Output = Result<RpcCallResponse, Error>> + 'static;
    fn rpc_call(&self, request: RpcCallRequest) -> Self::Response;
}

Associated Types

type Response: Future<Output = Result<RpcCallResponse, Error>> + 'static

Loading content...

Required methods

fn rpc_call(&self, request: RpcCallRequest) -> Self::Response

Loading content...

Implementations on Foreign Types

impl<Transport> RpcEndpoint for Addr<Connection<SplitSink<Transport, Message>>> where
    Transport: Sink<Message, Error = ProtocolError> + Stream<Item = Result<Frame, ProtocolError>> + Unpin + 'static, 
[src]

type Response = Pin<Box<dyn Future<Output = Result<RpcCallResponse, Error>> + 'static>>

Loading content...

Implementors

Loading content...