pub trait EventWithCallback {
    type Payload;

    // Required method
    fn with_callback(self, tx: Sender<Result<Self::Payload, String>>) -> Event2;
}

Required Associated Types§

Required Methods§

Implementors§