LaneSlot

Trait LaneSlot 

Source
pub trait LaneSlot {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Expand description

Slot handle returned by LaneRxSlot.

Slot passing requires that a slot can be inspected without copying bytes.

Required Methods§

Source

fn as_bytes(&self) -> &[u8]

Borrow the payload bytes.

Implementations on Foreign Types§

Source§

impl LaneSlot for EventsSlot

Source§

fn as_bytes(&self) -> &[u8]

Implementors§