Enum bluez_async::Transport
source · [−]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 StructuralEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more