Struct sflow::Community [] [src]

pub struct Community {
    pub asn: u32,
    pub tag: u16,
}

Community represents a BGP community. While normally a community is a u32 with the first half being the asn, and the second half being a tag or value, in this case we are storing the asn as a u32 in order to support extended asns.

Fields

Trait Implementations

impl Debug for Community
[src]

Formats the value using the given formatter.

impl Copy for Community
[src]

impl Clone for Community
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Community
[src]

Returns the "default value" for a type. Read more

impl Display for Community
[src]

Formats the value using the given formatter. Read more

impl Decodeable for Community
[src]