pub struct PreparedPrivateApplicationMessageSend { /* private fields */ }Expand description
Outbound private message prepared for atomic persistence before publication.
Persist destination_path,
ciphertext, and
resulting_snapshot together before
acknowledging this value.
Implementations§
Source§impl PreparedPrivateApplicationMessageSend
impl PreparedPrivateApplicationMessageSend
Sourcepub fn destination_path(&self) -> &str
pub fn destination_path(&self) -> &str
Pubky storage path for the exact ciphertext.
Sourcepub fn ciphertext(&self) -> &[u8] ⓘ
pub fn ciphertext(&self) -> &[u8] ⓘ
Exact ciphertext to publish or retry after a crash.
Sourcepub fn resulting_snapshot(&self) -> &EncryptedLinkSnapshot
pub fn resulting_snapshot(&self) -> &EncryptedLinkSnapshot
Encrypted Link snapshot after this send.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PreparedPrivateApplicationMessageSend
impl RefUnwindSafe for PreparedPrivateApplicationMessageSend
impl Send for PreparedPrivateApplicationMessageSend
impl Sync for PreparedPrivateApplicationMessageSend
impl Unpin for PreparedPrivateApplicationMessageSend
impl UnsafeUnpin for PreparedPrivateApplicationMessageSend
impl UnwindSafe for PreparedPrivateApplicationMessageSend
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