Struct cancellation::OperationCanceled [] [src]

pub struct OperationCanceled;

Unit struct used to indicate that an operation was canceled.

Usually used as Result<T, OperationCanceled>.

Trait Implementations

impl Display for OperationCanceled

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

impl Error for OperationCanceled

fn description(&self) -> &'static str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Eq for OperationCanceled

impl PartialEq for OperationCanceled

fn eq(&self, __arg_0: &OperationCanceled) -> bool

fn ne(&self, __arg_0: &OperationCanceled) -> bool

impl Debug for OperationCanceled

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for OperationCanceled

impl Clone for OperationCanceled

fn clone(&self) -> OperationCanceled

fn clone_from(&mut self, source: &Self)