Trait mpi::request::Scope

source ·
pub unsafe trait Scope<'a> {
    // Required methods
    fn register(&self);
    unsafe fn unregister(&self);
}
Expand description

A common interface for LocalScope and StaticScope used internally by the request module.

This trait is an implementation detail. You shouldn’t have to use or implement this trait.

Required Methods§

source

fn register(&self)

Registers a request with the scope.

source

unsafe fn unregister(&self)

Unregisters a request from the scope.

Safety

DO NOT IMPLEMENT

Implementors§

source§

impl Scope<'static> for StaticScope

source§

impl<'a, 'b> Scope<'a> for &'b LocalScope<'a>