pub struct HostResources<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> { /* private fields */ }
Expand description
HostResources holds the resources used by the host.
The l2cap packet pool is used by the host to handle inbound data, by allocating space for incoming packets and dispatching to the appropriate connection and channel.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> !Freeze for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> !RefUnwindSafe for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> !Send for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> !Sync for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize> Unpin for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
impl<const CONNS: usize, const CHANNELS: usize, const L2CAP_MTU: usize, const ADV_SETS: usize = 1> !UnwindSafe for HostResources<CONNS, CHANNELS, L2CAP_MTU, ADV_SETS>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more