Trait sn0int::worker::EventWithCallback
source · pub trait EventWithCallback {
type Payload;
// Required method
fn with_callback(self, tx: Sender<Result<Self::Payload, String>>) -> Event2;
}
pub trait EventWithCallback {
type Payload;
// Required method
fn with_callback(self, tx: Sender<Result<Self::Payload, String>>) -> Event2;
}