pub enum Transport {
Auto,
BrEdr,
Le,
}
Expand description
The type of transport to use for a scan.
Variants§
Auto
Interleaved scan, both BLE and Bluetooth Classic (if they are both enabled on the adapter).
BrEdr
BR/EDR inquiry, i.e. Bluetooth Classic.
Le
LE scan only.
Trait Implementations§
impl Copy for Transport
impl Eq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
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