Struct nemo::Defer
[−]
[src]
pub struct Defer<P: Protocol, I>(pub DeferFunc<I, P, (), ()>, pub PhantomData<P>, pub bool);
Handlers must return Defer
to indicate to the Session
how to proceed in
the future. Defer
can be obtained by calling .defer()
on the channel, or
by calling .close()
when the session is End
.