LaneRxSlot

Trait LaneRxSlot 

Source
pub trait LaneRxSlot {
    type Slot: LaneSlot;

    // Required method
    fn try_recv_slot(&mut self) -> Result<Option<Self::Slot>, LaneRxError>;
}
Expand description

RX side of a lane, owned slot receive.

This enables slot passing: receiving an owned slot handle (slot index) that can be forwarded to a compatible TX without copying payload bytes.

Required Associated Types§

Source

type Slot: LaneSlot

Slot handle type.

Required Methods§

Source

fn try_recv_slot(&mut self) -> Result<Option<Self::Slot>, LaneRxError>

Receive one message as an owned slot.

Implementors§