pub struct SessionCacheKey {
pub host: String,
pub port: u16,
}Expand description
Cache key for a TLS session ticket.
Fields§
§host: String§port: u16Implementations§
Trait Implementations§
Source§impl Clone for SessionCacheKey
impl Clone for SessionCacheKey
Source§fn clone(&self) -> SessionCacheKey
fn clone(&self) -> SessionCacheKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionCacheKey
impl Debug for SessionCacheKey
Source§impl Hash for SessionCacheKey
impl Hash for SessionCacheKey
Source§impl PartialEq for SessionCacheKey
impl PartialEq for SessionCacheKey
Source§fn eq(&self, other: &SessionCacheKey) -> bool
fn eq(&self, other: &SessionCacheKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionCacheKey
impl StructuralPartialEq for SessionCacheKey
Auto Trait Implementations§
impl Freeze for SessionCacheKey
impl RefUnwindSafe for SessionCacheKey
impl Send for SessionCacheKey
impl Sync for SessionCacheKey
impl Unpin for SessionCacheKey
impl UnsafeUnpin for SessionCacheKey
impl UnwindSafe for SessionCacheKey
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