pub enum PairingCompletionResult {
Success {
device_did: CanonicalDid,
device_name: Option<String>,
},
}Expand description
Outcome of a completed pairing operation.
Pairing now anchors a KERI delegation rather than creating an attestation, so
there is no attestation-fallback path — a failure is a hard error returned via
Result, not a soft fallback variant.
Usage:
ⓘ
match result {
PairingCompletionResult::Success { device_did, .. } => println!("Paired {}", device_did),
}Variants§
Success
Pairing completed: the device is a delegated identifier anchored by the root.
Fields
§
device_did: CanonicalDidThe delegated device’s did:keri:.
Auto Trait Implementations§
impl Freeze for PairingCompletionResult
impl RefUnwindSafe for PairingCompletionResult
impl Send for PairingCompletionResult
impl Sync for PairingCompletionResult
impl Unpin for PairingCompletionResult
impl UnsafeUnpin for PairingCompletionResult
impl UnwindSafe for PairingCompletionResult
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