pub enum V3MessageData {
Plaintext(ScopedPdu),
Encrypted(Bytes),
}Expand description
Message data payload.
Variants§
Plaintext(ScopedPdu)
Plaintext scoped PDU (noAuthNoPriv or authNoPriv)
Encrypted(Bytes)
Encrypted scoped PDU (authPriv) - raw ciphertext
Trait Implementations§
Source§impl Clone for V3MessageData
impl Clone for V3MessageData
Source§fn clone(&self) -> V3MessageData
fn clone(&self) -> V3MessageData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for V3MessageData
impl RefUnwindSafe for V3MessageData
impl Send for V3MessageData
impl Sync for V3MessageData
impl Unpin for V3MessageData
impl UnwindSafe for V3MessageData
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