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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Implementors§