[][src]Enum routinator::config::StalePolicy

pub enum StalePolicy {
    Reject,
    Warn,
    Accept,
}

The local policy for handling of stale objects.

Stale objects are manifests and CRLs that have a next_update field in the past. The protocol leaves the decision how to interpret stale objects to local policy. This type defines the options for this local policy.

Variants

Reject

Reject to accept a stale objects.

A stale objects and, transitively, all objects that depend on the stale objects are considered invalid.

Warn

Accept the stale object but log a warning.

A stale object and, transitively, all objects that depend on the stale object are considered valid. A warning is logged about the fact that the object is stale.

This is the default policy.

Accept

Quietly accept the stale object.

A stale object and, transitively, all objects that depend on the stale object are considered valid.

Trait Implementations

impl Clone for StalePolicy[src]

impl Copy for StalePolicy[src]

impl Debug for StalePolicy[src]

impl Default for StalePolicy[src]

impl Display for StalePolicy[src]

impl FromStr for StalePolicy[src]

type Err = String

The associated error which can be returned from parsing.

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,