Enum routinator::output::OutputFormat [−][src]
pub enum OutputFormat { Csv, CompatCsv, ExtendedCsv, Json, ExtendedJson, Openbgpd, Bird1, Bird2, Rpsl, Summary, None, }
Expand description
The output format for VRPs.
Variants
CSV format.
Each row has the AS number, prefix, max-length, and TA.
RIPE NCC Validator compatible CSV format.
This quotes all values and prints the AS number as just the number.
Extended CSV format.
Each row has URI, ASN, prefix, max-length, not before, not after.
RIPE NCC Validator JSON format.
This is a JSON object with one element "roas"
which is an array
of objects, each with the elements "asn"
, "prefix"
, "maxLength"
,
and "ta"
.
JSON format with extended information.
OpenBGPD configuration format.
Specifically, this produces as roa-set
.
BIRD configuration format.
Specifically, this produces as roa table
.
BIRD2 configuration format.
Specifically, this produces as route table
.
RPSL output.
This produces a sequence of RPSL objects with various fields.
Summary output.
Produces a textual summary of the ROAs and VRPS.
No output.
Seriously: no output.
Implementations
The default output format name.
Returns the output format for a given request path.
Returns the media type string for this output format.
Outputs a payload snapshot to a writer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more