Struct esp32_nimble::BLEAddress
source · pub struct BLEAddress { /* private fields */ }
Implementations§
source§impl BLEAddress
impl BLEAddress
pub fn new(val: [u8; 6], addr_type: BLEAddressType) -> Self
pub fn from_str(input: &str, addr_type: BLEAddressType) -> Option<Self>
sourcepub fn addr_type(&self) -> BLEAddressType
pub fn addr_type(&self) -> BLEAddressType
Get the address type.
Trait Implementations§
source§impl Clone for BLEAddress
impl Clone for BLEAddress
source§fn clone(&self) -> BLEAddress
fn clone(&self) -> BLEAddress
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BLEAddress
impl Debug for BLEAddress
source§impl Display for BLEAddress
impl Display for BLEAddress
source§impl From<ble_addr_t> for BLEAddress
impl From<ble_addr_t> for BLEAddress
source§fn from(value: ble_addr_t) -> Self
fn from(value: ble_addr_t) -> Self
Converts to this type from the input type.
source§impl PartialEq for BLEAddress
impl PartialEq for BLEAddress
impl Copy for BLEAddress
impl Eq for BLEAddress
Auto Trait Implementations§
impl RefUnwindSafe for BLEAddress
impl Send for BLEAddress
impl Sync for BLEAddress
impl Unpin for BLEAddress
impl UnwindSafe for BLEAddress
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more