Enum nng::options::transport::tcp::BoundPort [−][src]
pub enum BoundPort {}
Expand description
Get the local TCP port number.
This is used on a listener and is inteded to be used after starting the listener on a wildcard (0) local port. The returned value is the emphemeral port that was selected and bound.
Support
- Listeners using the TCP or TLS transports.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for BoundPort
impl UnwindSafe for BoundPort
Blanket Implementations
Mutably borrows from an owned value. Read more