Struct bgpkit_parser::parser::BgpkitParser [−][src]
pub struct BgpkitParser { /* fields omitted */ }
Implementations
pub fn into_record_iter(self) -> RecordIteratorⓘNotable traits for RecordIteratorimpl Iterator for RecordIterator type Item = MrtRecord;
Notable traits for RecordIterator
impl Iterator for RecordIterator type Item = MrtRecord;
pub fn into_elem_iter(self) -> ElemIteratorⓘNotable traits for ElemIteratorimpl Iterator for ElemIterator type Item = BgpElem;
Notable traits for ElemIterator
impl Iterator for ElemIterator type Item = BgpElem;
Creating a new parser from a object that implements Read trait.
pub fn add_filter(
self,
filter_type: &str,
filter_value: &str
) -> Result<BgpkitParser, ParserError>
This is used in for loop for item in parser{}
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BgpkitParser
impl !Send for BgpkitParser
impl !Sync for BgpkitParser
impl Unpin for BgpkitParser
impl !UnwindSafe for BgpkitParser
Blanket Implementations
Mutably borrows from an owned value. Read more
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