Expand description
§uni-addr
[!NOTE] Since version 0.4.0, this crate is renamed to
uaddrand the crate under the original nameuni-addris now a wrapper crate ofuaddr. Consider usinguaddrdirectly.
This crate provides a unified address type that can represent a std::net::SocketAddr, a std::os::unix::net::SocketAddr, or a host name with port.
§License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Modules§
- error
- Error types for
uaddr. - host
- Syntactically valid DNS name (hostname) with a port.
- unix
- UNIX domain socket (UDS) address.
Structs§
- Host
Addr - A syntactically valid DNS name (hostname) with a port.
- Unix
Addr - A UNIX domain socket (UDS) address.
Enums§
- UniAddr
- A unified address type that can represent: