pub fn load(path: &Utf8Path) -> Result<Credentials, CredentialsError>Expand description
Load credentials.toml from an explicit path, surfacing failures.
A missing file is Ok(empty) — TDM is opt-in and most installs have no
such file. Mirrors crate::user_extension::load, which config doctor already reports on the same way.
§Errors
CredentialsError::Io for a read failure other than not-found;
CredentialsError::Parse for malformed TOML.