pub struct PeripheralConfig<'a> {
pub name: &'a str,
pub appearance: &'a BluetoothUuid16,
}
Expand description
Configuration for a peripheral device GAP Service.
Fields§
§name: &'a str
The name of the peripheral device.
appearance: &'a BluetoothUuid16
The representation of the external appearance of the device.
Example: &appearance::sensor::GENERIC_SENSOR.
Auto Trait Implementations§
impl<'a> Freeze for PeripheralConfig<'a>
impl<'a> RefUnwindSafe for PeripheralConfig<'a>
impl<'a> Send for PeripheralConfig<'a>
impl<'a> Sync for PeripheralConfig<'a>
impl<'a> Unpin for PeripheralConfig<'a>
impl<'a> UnwindSafe for PeripheralConfig<'a>
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