Skip to main content

Module raw

Module raw 

Source
Expand description

Bridge between Rust types and their underlying raw handles. Mirrors mpi::raw in rsmpi. In a C-backed MPI these expose the opaque MPI_* handles; here the “raw” form of a handle is the pure-Rust identifier the runtime uses internally (e.g. a communicator context id).

Modules§

traits
Re-exports of the raw-handle traits, for use mpi::raw::traits::*;.

Traits§

AsRaw
A type that can produce its raw handle.
AsRawMut
A type that can produce a mutable pointer to its raw handle.
FromRaw
A type that can be reconstructed from its raw handle.
MatchesRaw
Marker for types whose in-memory layout is identical to their raw handle, so that &[Self] can be reinterpreted as &[Self::Raw].