pub(crate) struct Quic {
pub(crate) params: Option<Vec<u8>>,
pub(crate) alert: Option<AlertDescription>,
pub(crate) hs_queue: VecDeque<(bool, Vec<u8>)>,
pub(crate) early_secret: Option<OkmBlock>,
pub(crate) hs_secrets: Option<Secrets>,
pub(crate) traffic_secrets: Option<Secrets>,
pub(crate) returned_traffic_keys: bool,
pub(crate) version: Version,
}
Fields§
§params: Option<Vec<u8>>
QUIC transport parameters received from the peer during the handshake
alert: Option<AlertDescription>
§hs_queue: VecDeque<(bool, Vec<u8>)>
§early_secret: Option<OkmBlock>
§hs_secrets: Option<Secrets>
§traffic_secrets: Option<Secrets>
§returned_traffic_keys: bool
Whether keys derived from traffic_secrets have been passed to the QUIC implementation
version: Version
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Quic
impl !RefUnwindSafe for Quic
impl Send for Quic
impl Sync for Quic
impl Unpin for Quic
impl !UnwindSafe for Quic
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