Struct routinator::payload::RouteOrigin [−][src]
pub struct RouteOrigin { /* fields omitted */ }
Expand description
A validated route origin authorization.
This is what RFC 6811 calls a ‘Validated ROA Payload.’ It consists of an IP address prefix, a maximum length, and the origin AS number.
Implementations
Creates a new route origin from its components.
Returns the prefix of this authorization.
Returns the minimum prefix length of this authorization.
Returns the maximum prefix length of this authorization.
Returns an RTR payload value for this route origin.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RouteOrigin
impl Send for RouteOrigin
impl Sync for RouteOrigin
impl Unpin for RouteOrigin
impl UnwindSafe for RouteOrigin
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more