pub enum HostOwnership {
Ours,
Unclaimed,
OtherHost([u8; 32]),
Unsupported,
}Expand description
Verdict of comparing PROP_HOST_KEY against this host’s identity
(spec §Attach, Detach, and Synchronization, step 2).
Variants§
Ours
The device is configured for this host: queued traffic and provisioning are ours to use and drain.
Unclaimed
No host identity is configured.
OtherHost([u8; 32])
Another host has taken the radio over; the queue and
provisioning belong to that identity and must not be treated as
ours without deliberately replacing it (see
UlcpDevice::provision).
Unsupported
The device does not implement host filtering (minimal protocol only).
Trait Implementations§
Source§impl Clone for HostOwnership
impl Clone for HostOwnership
Source§fn clone(&self) -> HostOwnership
fn clone(&self) -> HostOwnership
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 moreSource§impl Debug for HostOwnership
impl Debug for HostOwnership
Source§impl PartialEq for HostOwnership
impl PartialEq for HostOwnership
impl Copy for HostOwnership
impl Eq for HostOwnership
impl StructuralPartialEq for HostOwnership
Auto Trait Implementations§
impl Freeze for HostOwnership
impl RefUnwindSafe for HostOwnership
impl Send for HostOwnership
impl Sync for HostOwnership
impl Unpin for HostOwnership
impl UnwindSafe for HostOwnership
Blanket Implementations§
§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)