#[repr(u8)]pub enum ScanType {
Passive = 0,
Active = 1,
}
Expand description
Types of scan to perform.
See ScanParameters
and le_set_scan_parameters
.
Variants§
Passive = 0
Passive Scanning. No scanning PDUs shall be sent (default).
Active = 1
Active scanning. Scanning PDUs may be sent.
Trait Implementations§
impl Copy for ScanType
impl StructuralPartialEq for ScanType
Auto Trait Implementations§
impl Freeze for ScanType
impl RefUnwindSafe for ScanType
impl Send for ScanType
impl Sync for ScanType
impl Unpin for ScanType
impl UnwindSafe for ScanType
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