Skip to main content

Context

Trait Context 

Source
pub trait Context {
    type Target: Copy + Into<[u8; 3]>;
    type Outbound: Copy + Into<[u8; 3]>;
    type Datagram<'d>;

    // Required method
    fn datagram<'d>(fd: &Self::Datagram<'d>) -> Self::Target;
}
Expand description

Typed inputs whose authority is preserved during native request lowering.

Required Associated Types§

Required Methods§

Source

fn datagram<'d>(fd: &Self::Datagram<'d>) -> Self::Target

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§