Enum bluer::AdapterEvent
source · pub enum AdapterEvent {
DeviceAdded(Address),
DeviceRemoved(Address),
PropertyChanged(AdapterProperty),
}
Available on crate feature
bluetoothd
only.Expand description
Bluetooth adapter event.
Variants§
DeviceAdded(Address)
Bluetooth device with specified address was added.
DeviceRemoved(Address)
Bluetooth device with specified address was removed.
PropertyChanged(AdapterProperty)
Bluetooth adapter property changed.
Trait Implementations§
source§impl Clone for AdapterEvent
impl Clone for AdapterEvent
source§fn clone(&self) -> AdapterEvent
fn clone(&self) -> AdapterEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AdapterEvent
impl Debug for AdapterEvent
source§impl<'de> Deserialize<'de> for AdapterEvent
impl<'de> Deserialize<'de> for AdapterEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdapterEvent
impl RefUnwindSafe for AdapterEvent
impl Send for AdapterEvent
impl Sync for AdapterEvent
impl Unpin for AdapterEvent
impl UnwindSafe for AdapterEvent
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