#[repr(C)]pub struct mlx5dv_dr_flow_sampler_attr {
pub sample_ratio: u32,
pub default_next_table: *mut mlx5dv_dr_table,
pub num_sample_actions: u32,
pub sample_actions: *mut *mut mlx5dv_dr_action,
pub action: __be64,
}
Fields§
§sample_ratio: u32
§default_next_table: *mut mlx5dv_dr_table
§num_sample_actions: u32
§sample_actions: *mut *mut mlx5dv_dr_action
§action: __be64
Trait Implementations§
Source§impl Clone for mlx5dv_dr_flow_sampler_attr
impl Clone for mlx5dv_dr_flow_sampler_attr
Source§fn clone(&self) -> mlx5dv_dr_flow_sampler_attr
fn clone(&self) -> mlx5dv_dr_flow_sampler_attr
Returns a duplicate 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 mlx5dv_dr_flow_sampler_attr
impl Debug for mlx5dv_dr_flow_sampler_attr
impl Copy for mlx5dv_dr_flow_sampler_attr
Auto Trait Implementations§
impl Freeze for mlx5dv_dr_flow_sampler_attr
impl RefUnwindSafe for mlx5dv_dr_flow_sampler_attr
impl !Send for mlx5dv_dr_flow_sampler_attr
impl !Sync for mlx5dv_dr_flow_sampler_attr
impl Unpin for mlx5dv_dr_flow_sampler_attr
impl UnwindSafe for mlx5dv_dr_flow_sampler_attr
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