pub struct NeighborAwarenessNetworkingServiceMatch<'a>(/* private fields */);Available on crate feature
unstable only.Expand description
Implementations§
Source§impl NeighborAwarenessNetworkingServiceMatch<'_>
impl NeighborAwarenessNetworkingServiceMatch<'_>
Sourcepub fn subscribe_id(&self) -> u8
pub fn subscribe_id(&self) -> u8
Get the Subscribe Service ID.
Sourcepub fn publish_id(&self) -> u8
pub fn publish_id(&self) -> u8
Get the Publish Service ID.
Sourcepub fn pub_if_mac(&self) -> &[u8]
pub fn pub_if_mac(&self) -> &[u8]
Get the NAN Interface MAC of the Publisher.
Sourcepub fn update_pub_id(&self) -> bool
pub fn update_pub_id(&self) -> bool
Indicates whether publisher’s service ID needs to be updated.
Trait Implementations§
Source§impl<'a> Clone for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> Clone for NeighborAwarenessNetworkingServiceMatch<'a>
Source§fn clone(&self) -> NeighborAwarenessNetworkingServiceMatch<'a>
fn clone(&self) -> NeighborAwarenessNetworkingServiceMatch<'a>
Returns a duplicate 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 moreimpl<'a> Copy for NeighborAwarenessNetworkingServiceMatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> RefUnwindSafe for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> Send for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> Sync for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> Unpin for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> UnsafeUnpin for NeighborAwarenessNetworkingServiceMatch<'a>
impl<'a> UnwindSafe for NeighborAwarenessNetworkingServiceMatch<'a>
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)