pub struct AlpnInformation {
pub server_alpns: Option<Vec<Bytes>>,
pub client_alpns: Option<Vec<Bytes>>,
pub chosen_alpn: Option<Bytes>,
}
Fields§
§server_alpns: Option<Vec<Bytes>>
§client_alpns: Option<Vec<Bytes>>
§chosen_alpn: Option<Bytes>
Trait Implementations§
Source§impl Clone for AlpnInformation
impl Clone for AlpnInformation
Source§fn clone(&self) -> AlpnInformation
fn clone(&self) -> AlpnInformation
Returns a copy 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 AlpnInformation
impl Debug for AlpnInformation
Source§impl<'de> Deserialize<'de> for AlpnInformation
impl<'de> Deserialize<'de> for AlpnInformation
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
Source§impl PartialEq for AlpnInformation
impl PartialEq for AlpnInformation
Source§impl Serialize for AlpnInformation
impl Serialize for AlpnInformation
impl Eq for AlpnInformation
impl StructuralPartialEq for AlpnInformation
Auto Trait Implementations§
impl Freeze for AlpnInformation
impl RefUnwindSafe for AlpnInformation
impl Send for AlpnInformation
impl Sync for AlpnInformation
impl Unpin for AlpnInformation
impl UnwindSafe for AlpnInformation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.