pub struct RestoredPeripheral {
pub advertised_local_name: Option<String>,
pub advertised_services: Vec<BluetoothUuid>,
pub service_count: usize,
}Expand description
What the system preserved for a peripheral across a relaunch.
Fields§
§advertised_local_name: Option<String>The local name that was being advertised.
advertised_services: Vec<BluetoothUuid>The services that were being advertised.
service_count: usizeHow many services were published.
Trait Implementations§
Source§impl Clone for RestoredPeripheral
impl Clone for RestoredPeripheral
Source§impl Debug for RestoredPeripheral
impl Debug for RestoredPeripheral
Auto Trait Implementations§
impl Freeze for RestoredPeripheral
impl RefUnwindSafe for RestoredPeripheral
impl Send for RestoredPeripheral
impl Sync for RestoredPeripheral
impl Unpin for RestoredPeripheral
impl UnsafeUnpin for RestoredPeripheral
impl UnwindSafe for RestoredPeripheral
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