pub enum NlaParseMode {
Strict,
Relaxed,
}Expand description
Describes how to handle errors when parsing attributes.
Variants§
Strict
Any attribute parsing errors result in a failure of the entire message
parsing operation. Corresponds to the NETLINK_GET_STRICT_CHK option.
Relaxed
Attribute parsing errors do not impact the success of message parsing. Attributes that failed to parse are ignored.
Auto Trait Implementations§
impl Freeze for NlaParseMode
impl RefUnwindSafe for NlaParseMode
impl Send for NlaParseMode
impl Sync for NlaParseMode
impl Unpin for NlaParseMode
impl UnsafeUnpin for NlaParseMode
impl UnwindSafe for NlaParseMode
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