pub enum DeviceProviderAdmissionCompletion {
SamePrincipal {
bootstrap: Box<ProviderReadyDeviceBootstrap>,
},
CrossPrincipal {
bootstrap: Box<ProviderReadyDeviceBootstrap>,
readiness: Box<DeviceJoinReadiness>,
receipt: CrossPrincipalProbeReceipt,
},
}Variants§
SamePrincipal
Fields
§
bootstrap: Box<ProviderReadyDeviceBootstrap>CrossPrincipal
Fields
§
bootstrap: Box<ProviderReadyDeviceBootstrap>The bootstrap this completion answers. It carries the joining device’s signed registration request, which is where the expected registration and its reserved slot come from now that no separate attempt file restates them.
§
readiness: Box<DeviceJoinReadiness>§
receipt: CrossPrincipalProbeReceiptImplementations§
Source§impl DeviceProviderAdmissionCompletion
impl DeviceProviderAdmissionCompletion
pub fn attempt_id(&self) -> DeviceJoinAttemptId
Sourcepub fn bootstrap(&self) -> &ProviderReadyDeviceBootstrap
pub fn bootstrap(&self) -> &ProviderReadyDeviceBootstrap
The bootstrap this completion answers, whichever provider shape it took.
Trait Implementations§
Source§impl Clone for DeviceProviderAdmissionCompletion
impl Clone for DeviceProviderAdmissionCompletion
Source§fn clone(&self) -> DeviceProviderAdmissionCompletion
fn clone(&self) -> DeviceProviderAdmissionCompletion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DeviceProviderAdmissionCompletion
impl<'de> Deserialize<'de> for DeviceProviderAdmissionCompletion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeviceProviderAdmissionCompletion
impl PartialEq for DeviceProviderAdmissionCompletion
Source§fn eq(&self, other: &DeviceProviderAdmissionCompletion) -> bool
fn eq(&self, other: &DeviceProviderAdmissionCompletion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeviceProviderAdmissionCompletion
impl StructuralPartialEq for DeviceProviderAdmissionCompletion
Auto Trait Implementations§
impl Freeze for DeviceProviderAdmissionCompletion
impl RefUnwindSafe for DeviceProviderAdmissionCompletion
impl Send for DeviceProviderAdmissionCompletion
impl Sync for DeviceProviderAdmissionCompletion
impl Unpin for DeviceProviderAdmissionCompletion
impl UnsafeUnpin for DeviceProviderAdmissionCompletion
impl UnwindSafe for DeviceProviderAdmissionCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.