Struct quinn_proto::crypto::rustls::HandshakeData
source · pub struct HandshakeData {
pub protocol: Option<Vec<u8>>,
pub server_name: Option<String>,
}
Expand description
Authentication data for (rustls) TLS session
Fields§
§protocol: Option<Vec<u8>>
The negotiated application protocol, if ALPN is in use
Guaranteed to be set if a nonempty list of protocols was specified for this connection.
server_name: Option<String>
The server name specified by the client, if any
Always None
for outgoing connections
Auto Trait Implementations§
impl RefUnwindSafe for HandshakeData
impl Send for HandshakeData
impl Sync for HandshakeData
impl Unpin for HandshakeData
impl UnwindSafe for HandshakeData
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