pub enum CertificateCount {
Certificates(u32),
BeyondAnyPath,
}Expand description
A count of certificates a constraint names.
The fields counted here are INTEGER (0..MAX) (RFC 5280 4.2.1.9, 4.2.1.11
and 4.2.1.14), so a count wider than any path that could be built is inside
the schema. It is kept as what it is, a bound nothing reaches, rather than
refused as malformed or folded into a number the certificate never wrote.
Variants§
Certificates(u32)
The count the certificate names.
BeyondAnyPath
A count past what a path could hold, which therefore never binds.
Implementations§
Trait Implementations§
Source§impl Clone for CertificateCount
impl Clone for CertificateCount
impl Copy for CertificateCount
Source§impl Debug for CertificateCount
impl Debug for CertificateCount
impl Eq for CertificateCount
Source§impl PartialEq for CertificateCount
impl PartialEq for CertificateCount
impl StructuralPartialEq for CertificateCount
Auto Trait Implementations§
impl Freeze for CertificateCount
impl RefUnwindSafe for CertificateCount
impl Send for CertificateCount
impl Sync for CertificateCount
impl Unpin for CertificateCount
impl UnsafeUnpin for CertificateCount
impl UnwindSafe for CertificateCount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more