pub(crate) struct Decrypted<'a> {
pub(crate) want_close_before_decrypt: bool,
pub(crate) plaintext: InboundPlainMessage<'a>,
}
Expand description
Result of decryption.
Fields§
§want_close_before_decrypt: bool
Whether the peer appears to be getting close to encrypting too many messages with this key.
plaintext: InboundPlainMessage<'a>
The decrypted message.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Decrypted<'a>
impl<'a> RefUnwindSafe for Decrypted<'a>
impl<'a> Send for Decrypted<'a>
impl<'a> Sync for Decrypted<'a>
impl<'a> Unpin for Decrypted<'a>
impl<'a> UnwindSafe for Decrypted<'a>
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