Struct mpi::request::StaticScope [] [src]

pub struct StaticScope;

The scope that lasts as long as the entire execution of the program

Unlike LocalScope<'a>, StaticScope does not require any bookkeeping on the requests as every request associated with a StaticScope can live as long as they please.

A StaticScope can be created simply by calling the StaticScope constructor.

Invariant

For any Request registered with a StaticScope, its associated buffers must be 'static.

Trait Implementations

impl Debug for StaticScope
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for StaticScope
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StaticScope
[src]

impl Default for StaticScope
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for StaticScope
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for StaticScope
[src]

impl Hash for StaticScope
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Scope<'static> for StaticScope
[src]

[src]

Registers a request with the scope.

[src]

Unregisters a request from the scope.