Skip to main content

DeviceBufferBindingsTypes

Trait DeviceBufferBindingsTypes 

Source
pub trait DeviceBufferBindingsTypes: 'static {
    type TxBuffer: FragmentedBuffer + AsMut<[u8]> + Send + 'static;
    type TxAllocator: TxBufferAllocator<Self::TxBuffer> + Send + 'static;
}
Expand description

Trait for associated types used in the device layer.

Required Associated Types§

Source

type TxBuffer: FragmentedBuffer + AsMut<[u8]> + Send + 'static

The buffer type stored in transmit queues.

Source

type TxAllocator: TxBufferAllocator<Self::TxBuffer> + Send + 'static

The allocator for transmit queue buffers.

Implementations on Foreign Types§

Source§

impl<TimerId: 'static, Event: Debug + 'static, State: 'static, FrameMeta: 'static> DeviceBufferBindingsTypes for FakeBindingsCtx<TimerId, Event, State, FrameMeta>

Implementors§