pub struct CryptoFrame {
pub offset: u64,
pub length: u64,
pub data: Vec<u8>,
}Expand description
Frame CRYPTO : transporte des fragments TLS 1.3 (ClientHello, ServerHello, etc.).
Fields§
§offset: u64Offset dans le flux CRYPTO (peut arriver en fragments).
length: u64Taille des données (facultatif si data.len() suffit).
data: Vec<u8>Données TLS (potentiellement fragmentées) — par ex. ServerHello, EncryptedExtensions…
Trait Implementations§
Source§impl Clone for CryptoFrame
impl Clone for CryptoFrame
Source§fn clone(&self) -> CryptoFrame
fn clone(&self) -> CryptoFrame
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 CryptoFrame
impl RefUnwindSafe for CryptoFrame
impl Send for CryptoFrame
impl Sync for CryptoFrame
impl Unpin for CryptoFrame
impl UnsafeUnpin for CryptoFrame
impl UnwindSafe for CryptoFrame
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