Trait uavcan::storage::InterfaceStorageHandle[][src]

pub trait InterfaceStorageHandle<F: TransferFrame> {
    fn pop(&self) -> Option<F>;
fn max_priority(&self) -> Option<TransferFrameID>;
fn push(&self, frame: F) -> Result<(), StorageError>; }

Required Methods

Removes the item with highest priority from the priority queue and returns it, or None if it is empty.

Returns the TransferFrameID of the TransferFrame with highest priority, or None if the queue is empty.

Pushes an item on the interface queue.

This is the same as calling insert_interface_queue on the Storage which this handle is associated with.

Implementors