Trait bidirectional_channel::Respond[][src]

pub trait Respond<Resp> {
    type Owned;
    fn respond(self, response: Resp) -> Result<Self::Owned, (Self::Owned, Resp)>;
}

Associated Types

If the implementer owns any data, it is given back to the user on both receipt and failure

Required methods

Fullfill our obligation to the Requester by responding to their request

Implementors