Skip to main content

Message

Trait Message 

Source
pub unsafe trait Message<'a> {
    // Required method
    fn header(self) -> &'a Header;
}
Expand description

§Safety

The header and all pointees stay initialized, immutable, and live through 'a. Its iovec count fits the target and its byte sum is at most i32::MAX.

Required Methods§

Source

fn header(self) -> &'a Header

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§