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§
Required Methods§
Sourcefn try_recv_slot(&mut self) -> Result<Option<Self::Slot>, LaneRxError>
fn try_recv_slot(&mut self) -> Result<Option<Self::Slot>, LaneRxError>
Receive one message as an owned slot.