pub struct BLEComponent<A: Alarm<'static> + 'static, B: BleAdvertisementDriver<'static> + BleConfig + 'static, CAP: MemoryAllocationCapability + 'static> { /* private fields */ }Implementations§
Source§impl<A: Alarm<'static> + 'static, B: BleAdvertisementDriver<'static> + BleConfig + 'static, CAP: MemoryAllocationCapability + 'static> BLEComponent<A, B, CAP>
impl<A: Alarm<'static> + 'static, B: BleAdvertisementDriver<'static> + BleConfig + 'static, CAP: MemoryAllocationCapability + 'static> BLEComponent<A, B, CAP>
Trait Implementations§
Source§impl<A: Alarm<'static> + 'static, B: BleAdvertisementDriver<'static> + BleConfig + 'static, CAP: MemoryAllocationCapability + 'static> Component for BLEComponent<A, B, CAP>
impl<A: Alarm<'static> + 'static, B: BleAdvertisementDriver<'static> + BleConfig + 'static, CAP: MemoryAllocationCapability + 'static> Component for BLEComponent<A, B, CAP>
Source§type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<BLE<'static, B, VirtualMuxAlarm<'static, A>>>, &'static mut MaybeUninit<[u8; 39]>)
type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<BLE<'static, B, VirtualMuxAlarm<'static, A>>>, &'static mut MaybeUninit<[u8; 39]>)
An optional type to specify the chip or board specific static memory
that a component needs to setup the output object(s). This is the memory
that
crate::static_buf!() would normally setup, but generic
components cannot setup static buffers for types which are
chip-dependent, so those buffers have to be passed in manually, and the
Component::StaticInput type makes this possible.Source§type Output = &'static BLE<'static, B, VirtualMuxAlarm<'static, A>>
type Output = &'static BLE<'static, B, VirtualMuxAlarm<'static, A>>
The type (e.g., capsule, peripheral) that this implementation of
Component produces via Component::finalize(). This is typically
a static reference (&'static).Source§fn finalize(self, s: Self::StaticInput) -> Self::Output
fn finalize(self, s: Self::StaticInput) -> Self::Output
Auto Trait Implementations§
impl<A, B, CAP> !RefUnwindSafe for BLEComponent<A, B, CAP>
impl<A, B, CAP> !Send for BLEComponent<A, B, CAP>
impl<A, B, CAP> !Sync for BLEComponent<A, B, CAP>
impl<A, B, CAP> !UnwindSafe for BLEComponent<A, B, CAP>
impl<A, B, CAP> Freeze for BLEComponent<A, B, CAP>where
CAP: Freeze,
impl<A, B, CAP> Unpin for BLEComponent<A, B, CAP>where
CAP: Unpin,
impl<A, B, CAP> UnsafeUnpin for BLEComponent<A, B, CAP>where
CAP: UnsafeUnpin,
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