Struct futures::sync::oneshot::Canceled [−][src]
pub struct Canceled;
Error returned from a Receiver<T> whenever the corresponding Sender<T>
is dropped.
Trait Implementations
impl Clone for Canceled[src]
impl Clone for Canceledfn clone(&self) -> Canceled[src]
fn clone(&self) -> CanceledReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Canceled[src]
impl Copy for Canceledimpl PartialEq for Canceled[src]
impl PartialEq for Canceledfn eq(&self, other: &Canceled) -> bool[src]
fn eq(&self, other: &Canceled) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for Canceled[src]
impl Eq for Canceledimpl Debug for Canceled[src]
impl Debug for Canceledfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Canceled[src]
impl Display for Canceledfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Canceled[src]
impl Error for Canceled