pub struct HostProvisioning {
pub host_key: [u8; 32],
pub filters: Vec<Filter>,
pub channel_keys: Vec<[u8; 32]>,
pub peer_keys: Vec<PeerKeyEntry>,
pub auto_ack: bool,
}Expand description
The host-domain state UlcpDevice::provision establishes on
the device.
Fields§
§host_key: [u8; 32]The host identity (PROP_HOST_KEY). Provisioning a key
different from the configured one replaces the host domain
(spec §Host Replacement).
filters: Vec<Filter>Desired explicit receive filter set (PROP_HOST_RX_FILTERS).
channel_keys: Vec<[u8; 32]>Desired channel keys (PROP_HOST_CHANNEL_KEYS).
peer_keys: Vec<PeerKeyEntry>Desired peer key entries (PROP_HOST_PEER_KEYS). Reconciled by
public-key membership: an entry whose public key the device
already reports is not re-sent, so rotated key material for
an existing peer must be re-inserted explicitly (insert
replaces).
auto_ack: boolDesired PROP_HOST_AUTO_ACK.
Trait Implementations§
Source§impl Clone for HostProvisioning
impl Clone for HostProvisioning
Source§fn clone(&self) -> HostProvisioning
fn clone(&self) -> HostProvisioning
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 moreAuto Trait Implementations§
impl Freeze for HostProvisioning
impl RefUnwindSafe for HostProvisioning
impl Send for HostProvisioning
impl Sync for HostProvisioning
impl Unpin for HostProvisioning
impl UnwindSafe for HostProvisioning
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)