Struct want::SharedGiver [−][src]
pub struct SharedGiver { /* fields omitted */ }
Expand description
A cloneable Giver
.
It differs from Giver
in that you cannot poll for want
. It’s only
usable as a cancellation watcher.
Implementations
Check if the Taker
has called want()
without parking a task.
This is safe to call outside of a futures task context, but other means of being notified is left to the user.
Check if the Taker
has canceled interest without parking a task.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SharedGiver
impl Send for SharedGiver
impl Sync for SharedGiver
impl Unpin for SharedGiver
impl !UnwindSafe for SharedGiver
Blanket Implementations
Mutably borrows from an owned value. Read more