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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, S: Scope<'a>> Drop for CancelGuard<'a, S>
[src]
impl<'a, S: Scope<'a>> From<CancelGuard<'a, S>> for WaitGuard<'a, S>
[src]
fn from(guard: CancelGuard<'a, S>) -> Self
[src]
Performs the conversion.