pub enum Trust {
Unknown,
Undefined,
Never,
Marginal,
Full,
Ultimate,
// some variants omitted
}
The trust level of a certificate. Trust level tries to answer the
question: "How much is the user willing to rely on cryptographic
identity assertions made by the owner of this certificate?"
By way of comparison with web browser X.509 certificate validation
stacks, the certificate of a "Root CA" has Trust::Ultimate
,
while the certificate of an intermediate CA has Trust::Full
,
and an end-entity certificate (e.g., with CA:FALSE set) would have
Trust::Never
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more