Enum rcgen::BasicConstraints [−][src]
pub enum BasicConstraints {
Unconstrained,
Constrained(u8),
}
Expand description
The path length constraint (only relevant for CA certificates)
Sets an optional upper limit on the length of the intermediate certificate chain length allowed for this CA certificate (not including the end entity certificate).
Variants
No constraint
Constrained(u8)
Constrain to the contained number of intermediate certificates
Tuple Fields of Constrained
0: u8
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BasicConstraints
impl Send for BasicConstraints
impl Sync for BasicConstraints
impl Unpin for BasicConstraints
impl UnwindSafe for BasicConstraints
Blanket Implementations
Mutably borrows from an owned value. Read more