#[repr(u8)]pub enum BleScanType {
Passive = 0,
Active = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for BleScanType
impl Clone for BleScanType
Source§fn clone(&self) -> BleScanType
fn clone(&self) -> BleScanType
Returns a duplicate 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 Default for BleScanType
impl Default for BleScanType
Source§fn default() -> BleScanType
fn default() -> BleScanType
Returns the “default value” for a type. Read more
Source§impl Format for BleScanType
impl Format for BleScanType
Source§impl TryFrom<u8> for BleScanType
impl TryFrom<u8> for BleScanType
Source§type Error = TryFromPrimitiveError<BleScanType>
type Error = TryFromPrimitiveError<BleScanType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for BleScanType
impl TryFromPrimitive for BleScanType
const NAME: &'static str = "BleScanType"
type Primitive = u8
type Error = TryFromPrimitiveError<BleScanType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for BleScanType
Auto Trait Implementations§
impl Freeze for BleScanType
impl RefUnwindSafe for BleScanType
impl Send for BleScanType
impl Sync for BleScanType
impl Unpin for BleScanType
impl UnwindSafe for BleScanType
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