Struct hyper_static_server::rustls::internal::msgs::persist::ClientSessionValue [−]
Fields
version: ProtocolVersion
cipher_suite: CipherSuite
session_id: SessionID
ticket: PayloadU16
master_secret: PayloadU8
epoch: u64
lifetime: u32
age_add: u32
extended_ms: bool
max_early_data_size: u32
server_cert_chain: Vec<Certificate, Global>
Implementations
impl ClientSessionValue
pub fn new(
v: ProtocolVersion,
cs: CipherSuite,
sessid: &SessionID,
ticket: Vec<u8, Global>,
ms: Vec<u8, Global>,
server_cert_chain: &Vec<Certificate, Global>
) -> ClientSessionValue
v: ProtocolVersion,
cs: CipherSuite,
sessid: &SessionID,
ticket: Vec<u8, Global>,
ms: Vec<u8, Global>,
server_cert_chain: &Vec<Certificate, Global>
) -> ClientSessionValue
pub fn set_extended_ms_used(&mut self)
pub fn set_times(
&mut self,
receipt_time_secs: u64,
lifetime_secs: u32,
age_add: u32
)
&mut self,
receipt_time_secs: u64,
lifetime_secs: u32,
age_add: u32
)
pub fn has_expired(&self, time_now: u64) -> bool
pub fn get_obfuscated_ticket_age(&self, time_now: u64) -> u32
pub fn take_ticket(&mut self) -> Vec<u8, Global>
pub fn set_max_early_data_size(&mut self, sz: u32)
Trait Implementations
impl Codec for ClientSessionValue
pub fn encode(&self, bytes: &mut Vec<u8, Global>)
pub fn read(r: &mut Reader<'_>) -> Option<ClientSessionValue>
pub fn get_encoding(&self) -> Vec<u8, Global>
pub fn read_bytes(bytes: &[u8]) -> Option<Self>
impl Debug for ClientSessionValue
Auto Trait Implementations
impl RefUnwindSafe for ClientSessionValue
impl Send for ClientSessionValue
impl Sync for ClientSessionValue
impl Unpin for ClientSessionValue
impl UnwindSafe for ClientSessionValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<EI, EO> ErrorExtWrap<EO> for EI where
EO: ErrorExtWrapFrom<EI>,
[src]
EO: ErrorExtWrapFrom<EI>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,