[][src]Struct krill::daemon::ca::Routes

pub struct Routes { /* fields omitted */ }

The current authorizations and corresponding meta-information for a CA.

Implementations

impl Routes[src]

pub fn authorizations(&self) -> impl Iterator<Item = &RouteAuthorization>[src]

pub fn info(&self, auth: &RouteAuthorization) -> Option<&RouteInfo>[src]

pub fn has(&self, auth: &RouteAuthorization) -> bool[src]

pub fn add(&mut self, auth: RouteAuthorization)[src]

Adds a new authorization, or updates an existing one.

pub fn remove(&mut self, auth: &RouteAuthorization)[src]

Removes an authorization

Trait Implementations

impl Clone for Routes[src]

impl Debug for Routes[src]

impl Default for Routes[src]

impl<'de> Deserialize<'de> for Routes[src]

impl Serialize for Routes[src]

Auto Trait Implementations

impl RefUnwindSafe for Routes

impl Send for Routes

impl Sync for Routes

impl Unpin for Routes

impl UnwindSafe for Routes

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.