Struct rustls::internal::msgs::handshake::ServerName [−][src]
pub struct ServerName {
pub typ: ServerNameType,
pub payload: ServerNamePayload,
}
Fields
typ: ServerNameType
payload: ServerNamePayload
Trait Implementations
Decode yourself by fiddling with the Reader
.
Return Some if it worked, None if not. Read more
Convenience function to get the results of encode()
.
Auto Trait Implementations
impl RefUnwindSafe for ServerName
impl Send for ServerName
impl Sync for ServerName
impl Unpin for ServerName
impl UnwindSafe for ServerName
Blanket Implementations
Mutably borrows from an owned value. Read more