Rindle docs and package mapSkip to main content

SessionResponder

Trait SessionResponder 

pub trait SessionResponder {
    // Required method
    fn respond(self, reply: SessionReply);
}
Expand description

The server’s deferred-respond handle: consumes itself answering the client exactly once, off the engine thread (each server wraps its own responder + completion channel).

Required Methods§

fn respond(self, reply: SessionReply)

Implementors§