pub struct ProvisionReport {
pub host_replaced: bool,
pub filters_replaced: bool,
pub channels_replaced: bool,
pub channels_inserted: usize,
pub peers_inserted: usize,
pub peers_removed: usize,
pub auto_ack_changed: bool,
}Expand description
What UlcpDevice::provision wrote.
A count of writes issued, not of differences found: provisioning
asserts the whole host domain unconditionally, so most of these are
non-zero on every call whether or not the device already agreed. Only
host_replaced and peers_removed report an observed difference.
Fields§
§host_replaced: boolPROP_HOST_KEY differed, so the device discarded the previous
host domain and every table below landed on an empty one.
filters_replaced: boolThe filter table was written whole.
channels_replaced: boolThe channel-key table was written whole, because the device held an identifier we have no key for and the remove selector is the key itself.
channels_inserted: usizeChannel keys inserted individually.
peers_inserted: usizePeer entries inserted.
peers_removed: usizePeer entries removed because the desired set omits them.
auto_ack_changed: boolPROP_HOST_AUTO_ACK was written.
Trait Implementations§
Source§impl Clone for ProvisionReport
impl Clone for ProvisionReport
Source§fn clone(&self) -> ProvisionReport
fn clone(&self) -> ProvisionReport
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 ProvisionReport
impl Debug for ProvisionReport
Source§impl Default for ProvisionReport
impl Default for ProvisionReport
Source§fn default() -> ProvisionReport
fn default() -> ProvisionReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProvisionReport
impl PartialEq for ProvisionReport
impl Copy for ProvisionReport
impl Eq for ProvisionReport
impl StructuralPartialEq for ProvisionReport
Auto Trait Implementations§
impl Freeze for ProvisionReport
impl RefUnwindSafe for ProvisionReport
impl Send for ProvisionReport
impl Sync for ProvisionReport
impl Unpin for ProvisionReport
impl UnwindSafe for ProvisionReport
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)