[][src]Struct routinator::validity::RouteValidity

pub struct RouteValidity<'a> { /* fields omitted */ }

Information about the RPKI validity of a route announcement.

Implementations

impl<'a> RouteValidity<'a>[src]

pub fn new(
    prefix: AddressPrefix,
    asn: AsId,
    origins: &'a AddressOrigins
) -> Self
[src]

pub fn prefix(&self) -> AddressPrefix[src]

pub fn asn(&self) -> AsId[src]

pub fn state(&self) -> RouteState[src]

pub fn reason(&self) -> Option<&'static str>[src]

pub fn description(&self) -> &'static str[src]

pub fn matched(&self) -> &[&'a AddressOrigin][src]

pub fn bad_asn(&self) -> &[&'a AddressOrigin][src]

pub fn bad_len(&self) -> &[&'a AddressOrigin][src]

pub fn into_json(self) -> Vec<u8>[src]

pub fn write_json<W: Write>(&self, target: &mut W) -> Result<(), Error>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for RouteValidity<'a>

impl<'a> Send for RouteValidity<'a>

impl<'a> Sync for RouteValidity<'a>

impl<'a> Unpin for RouteValidity<'a>

impl<'a> UnwindSafe for RouteValidity<'a>

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.

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