#[repr(C)]pub struct XdpOptions {
pub flags: XdpOptionsFlags,
}
Expand description
XDP options.
Requires kernel version 5.3.
struct xdp_options
Fields§
§flags: XdpOptionsFlags
Flags.
Trait Implementations§
source§impl Clone for XdpOptions
impl Clone for XdpOptions
source§fn clone(&self) -> XdpOptions
fn clone(&self) -> XdpOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XdpOptions
impl Debug for XdpOptions
source§impl Hash for XdpOptions
impl Hash for XdpOptions
source§impl PartialEq for XdpOptions
impl PartialEq for XdpOptions
impl Copy for XdpOptions
impl Eq for XdpOptions
impl StructuralPartialEq for XdpOptions
Auto Trait Implementations§
impl Freeze for XdpOptions
impl RefUnwindSafe for XdpOptions
impl Send for XdpOptions
impl Sync for XdpOptions
impl Unpin for XdpOptions
impl UnwindSafe for XdpOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)