pub struct Record {
pub seq: u64,
pub typ: ContentType,
pub plaintext: Option<Vec<u8>>,
pub explicit_nonce: Vec<u8>,
pub ciphertext: Vec<u8>,
pub tag: Option<Vec<u8>>,
}
Expand description
A TLS record.
Fields§
§seq: u64
Sequence number.
typ: ContentType
Content type.
plaintext: Option<Vec<u8>>
Plaintext.
explicit_nonce: Vec<u8>
Explicit nonce.
ciphertext: Vec<u8>
Ciphertext.
tag: Option<Vec<u8>>
Tag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)