Skip to main content

DeviceBufferSpec

Trait DeviceBufferSpec 

Source
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§

Source

type TxBuffer: FragmentedBuffer + AsMut<[u8]>

Used to for Tx Buffers.

Source

type TxAllocator: TxBufferAllocator<Self::TxBuffer>

Used to allocate Tx Buffers.

Implementors§