pub struct CreateContactResult {
pub contact_message: ContactMessage,
pub secret_key: Option<PairingSecretKeyMaterial>,
}Fields§
§contact_message: ContactMessage§secret_key: Option<PairingSecretKeyMaterial>Fresh pairing secret material tied to the keys the contact creator has committed to.
ContactMode::InlineKeys/ContactMode::HashedKeys:Some(...). Callers MUST persist it — it is required later to finalize pairing (decrypt the incomingPairRequestand derive the shared key).ContactMode::NoKeys:None. No key material exists at contact-creation time; the contact creator generates it on the fly when the correspondingPrePairRequestarrives.
Auto Trait Implementations§
impl Freeze for CreateContactResult
impl RefUnwindSafe for CreateContactResult
impl Send for CreateContactResult
impl Sync for CreateContactResult
impl Unpin for CreateContactResult
impl UnsafeUnpin for CreateContactResult
impl UnwindSafe for CreateContactResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more