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 Clone for OperationCanceled
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for OperationCanceled
[src]

impl Debug for OperationCanceled
[src]

Formats the value using the given formatter.

impl PartialEq for OperationCanceled
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OperationCanceled
[src]

impl Display for OperationCanceled
[src]

Formats the value using the given formatter. Read more

impl Error for OperationCanceled
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more