Trait Incoming

Source
pub trait Incoming {
    type Expected;
}
Expand description

Indicate that a protocol will receive a message, and specify what type it is, so we can decide in an offer which arm we got a message for.

Required Associated Types§

Implementors§

Source§

impl<P: Incoming, Q: Incoming> Incoming for Offer<P, Q>

Source§

impl<T, P> Incoming for Recv<T, P>