pub struct SessionResumptionResult {
pub handle: Option<String>,
pub resumed: Option<bool>,
}Expand description
Session resumption result from server.
Fields§
§handle: Option<String>Opaque handle for future session resumption.
resumed: Option<bool>Whether the session was successfully resumed.
Trait Implementations§
Source§impl Clone for SessionResumptionResult
impl Clone for SessionResumptionResult
Source§fn clone(&self) -> SessionResumptionResult
fn clone(&self) -> SessionResumptionResult
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 moreSource§impl Debug for SessionResumptionResult
impl Debug for SessionResumptionResult
Source§impl<'de> Deserialize<'de> for SessionResumptionResult
impl<'de> Deserialize<'de> for SessionResumptionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionResumptionResult
impl RefUnwindSafe for SessionResumptionResult
impl Send for SessionResumptionResult
impl Sync for SessionResumptionResult
impl Unpin for SessionResumptionResult
impl UnwindSafe for SessionResumptionResult
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