pub struct ParserContext {
pub four_octet_asn: Option<bool>,
pub address_family: Option<AddressFamilyId>,
}Fields§
§four_octet_asn: Option<bool>Whether thi parser is being run with a peer that is RFC6793 compliant.
address_family: Option<AddressFamilyId>Which address family should be parsed by default with this parser.
Trait Implementations§
Source§impl Debug for ParserContext
impl Debug for ParserContext
Source§impl Default for ParserContext
impl Default for ParserContext
Source§fn default() -> ParserContext
fn default() -> ParserContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserContext
impl RefUnwindSafe for ParserContext
impl Send for ParserContext
impl Sync for ParserContext
impl Unpin for ParserContext
impl UnsafeUnpin for ParserContext
impl UnwindSafe for ParserContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more