Struct bgpkit_parser::parser::BgpkitParser [−][src]
pub struct BgpkitParser<T: Read> { /* fields omitted */ }
Implementations
pub fn into_record_iter(self) -> RecordIterator<T>ⓘNotable traits for RecordIterator<T>impl<T: Read> Iterator for RecordIterator<T> type Item = MrtRecord;
Notable traits for RecordIterator<T>
impl<T: Read> Iterator for RecordIterator<T> type Item = MrtRecord;
pub fn into_elem_iter(self) -> ElemIterator<T>ⓘNotable traits for ElemIterator<T>impl<T: Read> Iterator for ElemIterator<T> type Item = BgpElem;
Notable traits for ElemIterator<T>
impl<T: Read> Iterator for ElemIterator<T> type Item = BgpElem;
This is used in for loop for item in parser{}