pub trait DeviceBufferSpec<BT>:
Device
+ Send
+ Sync {
type TxBuffer: FragmentedBuffer + AsMut<[u8]>;
type TxAllocator: TxBufferAllocator<Self::TxBuffer>;
}Expand description
Specifies the buffer types for a device.
Required Associated Types§
Sourcetype TxBuffer: FragmentedBuffer + AsMut<[u8]>
type TxBuffer: FragmentedBuffer + AsMut<[u8]>
Used to for Tx Buffers.
Sourcetype TxAllocator: TxBufferAllocator<Self::TxBuffer>
type TxAllocator: TxBufferAllocator<Self::TxBuffer>
Used to allocate Tx Buffers.