Enum rcgen::BasicConstraints[][src]

pub enum BasicConstraints {
    Unconstrained,
    Constrained(u8),
}

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

Unconstrained

No constraint

Constrained(u8)

Constrain to the contained number of intermediate certificates

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.