pub struct PreparedEncryptedLinkHandshakeStep { /* private fields */ }Expand description
One locally prepared handshake step, including its durable pending output. Persist the snapshot before publication; session authorization, capability scope, and key rotation remain the caller’s responsibility.
Implementations§
Source§impl PreparedEncryptedLinkHandshakeStep
impl PreparedEncryptedLinkHandshakeStep
Sourcepub fn is_handshake_complete(&self) -> bool
pub fn is_handshake_complete(&self) -> bool
Whether cryptography completed, not whether publication is acknowledged.
Sourcepub fn remote_static_public_key(&self) -> Option<&[u8]>
pub fn remote_static_public_key(&self) -> Option<&[u8]>
Authenticated remote static key, to compare with signed authorization.
Sourcepub fn into_snapshot(self) -> EncryptedLinkHandshakeSnapshot
pub fn into_snapshot(self) -> EncryptedLinkHandshakeSnapshot
Consume the preparation into the checkpoint that must be persisted.
Auto Trait Implementations§
impl Freeze for PreparedEncryptedLinkHandshakeStep
impl RefUnwindSafe for PreparedEncryptedLinkHandshakeStep
impl Send for PreparedEncryptedLinkHandshakeStep
impl Sync for PreparedEncryptedLinkHandshakeStep
impl Unpin for PreparedEncryptedLinkHandshakeStep
impl UnsafeUnpin for PreparedEncryptedLinkHandshakeStep
impl UnwindSafe for PreparedEncryptedLinkHandshakeStep
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