Struct bgpkit_parser::NetworkPrefix
source · [−]Expand description
A representation of a IP prefix with optional path ID.
Fields
prefix: IpNetworkpath_id: u32Implementations
Trait Implementations
type Err = BgpModelsError
type Err = BgpModelsError
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NetworkPrefix
impl Send for NetworkPrefix
impl Sync for NetworkPrefix
impl Unpin for NetworkPrefix
impl UnwindSafe for NetworkPrefix
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more