pub struct EncryptOwed {
pub header: WirePacketHeader,
pub dh_target: X25519PublicKey,
pub recipient_identity_hash: IdentityHash,
pub ephemeral_secret: X25519SecretKey,
pub iv: [u8; 16],
pub payload: Vec<u8, prns_core::::engine::commands::send_single::SendSinglePacketPayload::{constant#0}>,
pub command_id: CommandId,
pub peer_signing_key: IdentitySigningPublicKey,
pub sent_at: InstantMillis,
pub timeout_at: InstantMillis,
pub fire_on: InterfaceId,
}Expand description
Move-only: it carries the ephemeral secret, which seals exactly one packet.
Fields§
§header: WirePacketHeader§dh_target: X25519PublicKey§recipient_identity_hash: IdentityHash§ephemeral_secret: X25519SecretKey§iv: [u8; 16]§payload: Vec<u8, prns_core::::engine::commands::send_single::SendSinglePacketPayload::{constant#0}>§command_id: CommandId§peer_signing_key: IdentitySigningPublicKey§sent_at: InstantMillis§timeout_at: InstantMillis§fire_on: InterfaceIdAuto Trait Implementations§
impl Freeze for EncryptOwed
impl RefUnwindSafe for EncryptOwed
impl Send for EncryptOwed
impl Sync for EncryptOwed
impl Unpin for EncryptOwed
impl UnsafeUnpin for EncryptOwed
impl UnwindSafe for EncryptOwed
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