pub enum IterationBehavior {
EndMultiOnDone,
IterIndefinitely,
}
Expand description
Define iteration behavior when traversing a stream of netlink messages.
Variants§
EndMultiOnDone
End iteration of multi-part messages when a DONE message is reached.
IterIndefinitely
Iterate indefinitely. Mostly useful for multicast subscriptions.
Trait Implementations§
Source§impl PartialEq for IterationBehavior
impl PartialEq for IterationBehavior
impl Eq for IterationBehavior
impl StructuralPartialEq for IterationBehavior
Auto Trait Implementations§
impl Freeze for IterationBehavior
impl RefUnwindSafe for IterationBehavior
impl Send for IterationBehavior
impl Sync for IterationBehavior
impl Unpin for IterationBehavior
impl UnwindSafe for IterationBehavior
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