#[repr(u8)]pub enum ScanEnable {
NoScans = 0,
InquiryScanOnly = 1,
PageScanOnly = 2,
InquiryAndPageScan = 3,
}Expand description
Scan enable modes for HCI_Write_Scan_Enable
Variants§
NoScans = 0
No scans enabled
InquiryScanOnly = 1
Inquiry scan enabled
PageScanOnly = 2
Page scan enabled
InquiryAndPageScan = 3
Both inquiry and page scan enabled
Trait Implementations§
Source§impl Clone for ScanEnable
impl Clone for ScanEnable
Source§fn clone(&self) -> ScanEnable
fn clone(&self) -> ScanEnable
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanEnable
impl Debug for ScanEnable
Source§impl PartialEq for ScanEnable
impl PartialEq for ScanEnable
impl Copy for ScanEnable
impl Eq for ScanEnable
impl StructuralPartialEq for ScanEnable
Auto Trait Implementations§
impl Freeze for ScanEnable
impl RefUnwindSafe for ScanEnable
impl Send for ScanEnable
impl Sync for ScanEnable
impl Unpin for ScanEnable
impl UnwindSafe for ScanEnable
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)