pub struct CentralConfig<'a> {
pub name: &'a str,
pub appearance: &'a BluetoothUuid16,
}
Expand description
Configuration for a central device GAP Service.
Fields§
§name: &'a str
The name of the central 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 CentralConfig<'a>
impl<'a> RefUnwindSafe for CentralConfig<'a>
impl<'a> Send for CentralConfig<'a>
impl<'a> Sync for CentralConfig<'a>
impl<'a> Unpin for CentralConfig<'a>
impl<'a> UnwindSafe for CentralConfig<'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