pub enum Datapath<'a> {
Name(&'a CStr),
UpcallPid(u32),
Stats(OvsDpStats),
MegaflowStats(OvsDpMegaflowStats),
UserFeatures(u32),
MasksCacheSize(u32),
PerCpuPids(&'a [u8]),
Ifindex(u32),
}Available on crate feature
ovs_datapath only.Variants§
Name(&'a CStr)
UpcallPid(u32)
upcall pid
Stats(OvsDpStats)
MegaflowStats(OvsDpMegaflowStats)
UserFeatures(u32)
Associated type: UserFeatures (1 bit per enumeration)
MasksCacheSize(u32)
PerCpuPids(&'a [u8])
Ifindex(u32)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Datapath<'a>
impl<'a> RefUnwindSafe for Datapath<'a>
impl<'a> Send for Datapath<'a>
impl<'a> Sync for Datapath<'a>
impl<'a> Unpin for Datapath<'a>
impl<'a> UnsafeUnpin for Datapath<'a>
impl<'a> UnwindSafe for Datapath<'a>
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