pub struct PortDescriptor { /* private fields */ }
Expand description
Describes port, certificate, and host data for a single port to bind.
See the note at the bottom of Host
for an explanation
about the relationship between Self::new
and Self::unsecure
.
Implementations§
source§impl PortDescriptor
impl PortDescriptor
Creation and configuration.
Used when creating a server.