Struct want::Taker
[−]
[src]
pub struct Taker { /* fields omitted */ }
An entity that wants a value.
Methods
impl Taker
[src]
pub fn cancel(&mut self)
[src]
Signal to the Giver
that the want is canceled.
This is useful to tell that the channel is closed if you cannot drop the value yet.
pub fn want(&mut self)
[src]
Signal to the Giver
that a value is wanted.