Trait gsails::calls::Query

source ·
pub trait Query<TArgs, TReply>: Action<TArgs> {
    // Required method
    async fn recv(self, target: ActorId) -> Result<TReply>;
}

Required Methods§

source

async fn recv(self, target: ActorId) -> Result<TReply>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TRemoting, TArgs, TActionIo> Query<TArgs, <TActionIo as ActionIo>::Reply> for RemotingAction<TRemoting, TArgs, TActionIo>
where TRemoting: Remoting<TArgs>, TActionIo: ActionIo,