pub struct AdvertisingSetId(/* private fields */);Expand description
Advertising Set ID (SID) which is 4 bits long (range 0x00 to 0x0F). See Bluetooth Core Specification Vol 6, Part B, Section 2.3.4 and BASS v1.0.1 Section 3.1.1.4 Table 3.5.
Implementations§
Trait Implementations§
Source§impl Clone for AdvertisingSetId
impl Clone for AdvertisingSetId
Source§fn clone(&self) -> AdvertisingSetId
fn clone(&self) -> AdvertisingSetId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AdvertisingSetId
Source§impl Debug for AdvertisingSetId
impl Debug for AdvertisingSetId
impl Eq for AdvertisingSetId
Source§impl From<AdvertisingSetId> for u8
impl From<AdvertisingSetId> for u8
Source§fn from(sid: AdvertisingSetId) -> u8
fn from(sid: AdvertisingSetId) -> u8
Converts to this type from the input type.
Source§impl Hash for AdvertisingSetId
impl Hash for AdvertisingSetId
Source§impl PartialEq for AdvertisingSetId
impl PartialEq for AdvertisingSetId
impl StructuralPartialEq for AdvertisingSetId
Auto Trait Implementations§
impl Freeze for AdvertisingSetId
impl RefUnwindSafe for AdvertisingSetId
impl Send for AdvertisingSetId
impl Sync for AdvertisingSetId
impl Unpin for AdvertisingSetId
impl UnsafeUnpin for AdvertisingSetId
impl UnwindSafe for AdvertisingSetId
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