pub enum AddressType {
BrEdr = 0,
LePublic = 1,
LeRandom = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for AddressType
impl Clone for AddressType
Source§fn clone(&self) -> AddressType
fn clone(&self) -> AddressType
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 AddressType
impl Debug for AddressType
Source§impl Extend<AddressType> for AddressTypes
impl Extend<AddressType> for AddressTypes
Source§fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = AddressType>,
fn extend<T789979AD04B840B9BCA2350BD2215CBC>(
&mut self,
iter: T789979AD04B840B9BCA2350BD2215CBC,
)where
T789979AD04B840B9BCA2350BD2215CBC: IntoIterator<Item = AddressType>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<AddressType> for AddressTypes
impl FromIterator<AddressType> for AddressTypes
Source§fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = AddressType>,
fn from_iter<T2F99A5F6AE614587BADEEAAB29145B70>(
iter: T2F99A5F6AE614587BADEEAAB29145B70,
) -> Selfwhere
T2F99A5F6AE614587BADEEAAB29145B70: IntoIterator<Item = AddressType>,
Creates a value from an iterator. Read more
Source§impl Hash for AddressType
impl Hash for AddressType
Source§impl Pack for AddressType
impl Pack for AddressType
Source§impl PartialEq for AddressType
impl PartialEq for AddressType
impl Eq for AddressType
impl StructuralPartialEq for AddressType
Auto Trait Implementations§
impl Freeze for AddressType
impl RefUnwindSafe for AddressType
impl Send for AddressType
impl Sync for AddressType
impl Unpin for AddressType
impl UnwindSafe for AddressType
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