#[non_exhaustive]pub enum BluetoothNetworkRole {
PanU,
Dun,
}Expand description
Bluetooth network role.
Specifies the role of the Bluetooth device in the network connection.
§Stability
This enum is marked as #[non_exhaustive] so as to assume that new Bluetooth roles may be
added in future versions. When pattern matching, always include a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for BluetoothNetworkRole
impl Clone for BluetoothNetworkRole
Source§fn clone(&self) -> BluetoothNetworkRole
fn clone(&self) -> BluetoothNetworkRole
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 Debug for BluetoothNetworkRole
impl Debug for BluetoothNetworkRole
Source§impl Display for BluetoothNetworkRole
impl Display for BluetoothNetworkRole
Source§impl From<u32> for BluetoothNetworkRole
impl From<u32> for BluetoothNetworkRole
Source§impl PartialEq for BluetoothNetworkRole
impl PartialEq for BluetoothNetworkRole
impl Eq for BluetoothNetworkRole
impl StructuralPartialEq for BluetoothNetworkRole
Auto Trait Implementations§
impl Freeze for BluetoothNetworkRole
impl RefUnwindSafe for BluetoothNetworkRole
impl Send for BluetoothNetworkRole
impl Sync for BluetoothNetworkRole
impl Unpin for BluetoothNetworkRole
impl UnsafeUnpin for BluetoothNetworkRole
impl UnwindSafe for BluetoothNetworkRole
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