Enum bluer::adv::PlatformFeature
source · [−]#[non_exhaustive]
pub enum PlatformFeature {
CanSetTxPower,
HardwareOffload,
}
bluetoothd
only.Expand description
LE advertising platform feature.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
CanSetTxPower
Indicates whether platform can specify TX power on each advertising instance.
HardwareOffload
Indicates whether multiple advertising will be offloaded to the controller.
Trait Implementations
sourceimpl Clone for PlatformFeature
impl Clone for PlatformFeature
sourcefn clone(&self) -> PlatformFeature
fn clone(&self) -> PlatformFeature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlatformFeature
impl Debug for PlatformFeature
sourceimpl<'de> Deserialize<'de> for PlatformFeature
impl<'de> Deserialize<'de> for PlatformFeature
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for PlatformFeature
impl Display for PlatformFeature
sourceimpl FromStr for PlatformFeature
impl FromStr for PlatformFeature
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for PlatformFeature
impl Hash for PlatformFeature
sourceimpl Ord for PlatformFeature
impl Ord for PlatformFeature
sourceimpl PartialEq<PlatformFeature> for PlatformFeature
impl PartialEq<PlatformFeature> for PlatformFeature
sourceimpl PartialOrd<PlatformFeature> for PlatformFeature
impl PartialOrd<PlatformFeature> for PlatformFeature
sourcefn partial_cmp(&self, other: &PlatformFeature) -> Option<Ordering>
fn partial_cmp(&self, other: &PlatformFeature) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for PlatformFeature
impl Serialize for PlatformFeature
sourceimpl TryFrom<&'_ str> for PlatformFeature
impl TryFrom<&'_ str> for PlatformFeature
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for PlatformFeature
impl Eq for PlatformFeature
impl StructuralEq for PlatformFeature
impl StructuralPartialEq for PlatformFeature
Auto Trait Implementations
impl RefUnwindSafe for PlatformFeature
impl Send for PlatformFeature
impl Sync for PlatformFeature
impl Unpin for PlatformFeature
impl UnwindSafe for PlatformFeature
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more