pub trait AbortHandle: MaybeSend + MaybeSync {
// Required methods
fn end(&self);
fn is_finished(&self) -> bool;
}Expand description
A handle that can be moved/cloned/sent, but can only close the stream.
pub trait AbortHandle: MaybeSend + MaybeSync {
// Required methods
fn end(&self);
fn is_finished(&self) -> bool;
}A handle that can be moved/cloned/sent, but can only close the stream.