pub fn validate_bind_address(addr_str: &str) -> Result<SocketAddr, ServiceError>Expand description
Validate that a bind address string represents a localhost-only address.
Accepts:
127.0.0.1localhost
Rejects:
0.0.0.0::- Any non-loopback address
pub fn validate_bind_address(addr_str: &str) -> Result<SocketAddr, ServiceError>Validate that a bind address string represents a localhost-only address.
Accepts:
127.0.0.1localhostRejects:
0.0.0.0::