Struct fibers_rpc::server::NoReply
[−]
[src]
pub struct NoReply { /* fields omitted */ }
This represents a task for handling an RPC notification.
Methods
impl NoReply
[src]
pub fn future<F>(f: F) -> Self where
F: Future<Item = (), Error = Never> + Send + 'static,
[src]
F: Future<Item = (), Error = Never> + Send + 'static,
Makes a NoReply
instance which will execute future
for handling the notification.
pub fn done() -> Self
[src]
Makes a NoReply
instance which has no task.