pub enum LinkType {
BrEdr,
Le,
}
Available on crate feature
bluetoothd
only.Expand description
Link type.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for LinkType
impl<'de> Deserialize<'de> for LinkType
source§fn 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
source§impl Ord for LinkType
impl Ord for LinkType
source§impl PartialEq for LinkType
impl PartialEq for LinkType
source§impl PartialOrd for LinkType
impl PartialOrd for LinkType
1.0.0 · source§fn 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 moreimpl Copy for LinkType
impl Eq for LinkType
impl StructuralPartialEq for LinkType
Auto Trait Implementations§
impl Freeze for LinkType
impl RefUnwindSafe for LinkType
impl Send for LinkType
impl Sync for LinkType
impl Unpin for LinkType
impl UnwindSafe for LinkType
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