pub fn check_bind(
addr: SocketAddr,
public_read: bool,
credential_count: u64,
) -> Result<()>Expand description
The bind rules of D5. A loopback address needs nothing. Any other
address needs --public-read, because viewing is not authenticated, and
at least one publish credential (a key or a trust), because publishing
is authenticated.