pub struct ProtectedRecord {
pub sequence: u64,
pub ciphertext: Vec<u8>,
pub tag: [u8; 16],
}Expand description
Represents one protected TLS record carrying ciphertext and authentication tag.
Fields§
§sequence: u64§ciphertext: Vec<u8>§tag: [u8; 16]Trait Implementations§
Source§impl Clone for ProtectedRecord
impl Clone for ProtectedRecord
Source§fn clone(&self) -> ProtectedRecord
fn clone(&self) -> ProtectedRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtectedRecord
impl RefUnwindSafe for ProtectedRecord
impl Send for ProtectedRecord
impl Sync for ProtectedRecord
impl Unpin for ProtectedRecord
impl UnsafeUnpin for ProtectedRecord
impl UnwindSafe for ProtectedRecord
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