Struct mpi::request::CancelGuard [] [src]

pub struct CancelGuard<'a, S: Scope<'a>>(_);

Guard object that tries to cancel and waits for the completion of an operation when it is dropped

The guard can be constructed or deconstructed using the From and Into traits.

Examples

See examples/immediate.rs

Trait Implementations

impl<'a, S: Debug + Scope<'a>> Debug for CancelGuard<'a, S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a, S: Scope<'a>> Drop for CancelGuard<'a, S>
[src]

[src]

Executes the destructor for this type. Read more

impl<'a, S: Scope<'a>> From<CancelGuard<'a, S>> for WaitGuard<'a, S>
[src]

[src]

Performs the conversion.

impl<'a, S: Scope<'a>> From<WaitGuard<'a, S>> for CancelGuard<'a, S>
[src]

[src]

Performs the conversion.

impl<'a, S: Scope<'a>> From<Request<'a, S>> for CancelGuard<'a, S>
[src]

[src]

Performs the conversion.