Transport failures are transient; directory decisions and TLS or configuration failures are
permanent. Only a result code or a fixed kind reaches the detail, never the directoryโs text,
which can echo account names.
tokio-rustls reports a rejected certificate as io::Error(InvalidData, rustls::Error), which
ldap3 forwards as Io. It must not be retried like a network fault: it needs an operator.