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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".