pub struct ExtendedHwTrap {
pub group: String,
pub trap: String,
}Expand description
Extended HW Trap - Format (0,1041)
Devlink Trap Name information from Linux kernel
§XDR Definition (host-sflow)
/* Devlink Trap Name */
/* opaque = flow_data; enterprise = 0; format = 1041 */
/* https://www.kernel.org/doc/html/latest/networking/devlink/devlink-trap.html */
/* XDR spec: */
/* struct extended_hw_trap { */
/* string group<>; */ /* NET_DM_ATTR_HW_TRAP_GROUP_NAME */
/* string trap<>; */ /* NET_DM_ATTR_HW_TRAP_NAME */
/* } */Fields§
§group: StringHardware trap group name (NET_DM_ATTR_HW_TRAP_GROUP_NAME)
trap: StringHardware trap name (NET_DM_ATTR_HW_TRAP_NAME)
Trait Implementations§
Source§impl Clone for ExtendedHwTrap
impl Clone for ExtendedHwTrap
Source§fn clone(&self) -> ExtendedHwTrap
fn clone(&self) -> ExtendedHwTrap
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 ExtendedHwTrap
impl Debug for ExtendedHwTrap
Source§impl PartialEq for ExtendedHwTrap
impl PartialEq for ExtendedHwTrap
impl Eq for ExtendedHwTrap
impl StructuralPartialEq for ExtendedHwTrap
Auto Trait Implementations§
impl Freeze for ExtendedHwTrap
impl RefUnwindSafe for ExtendedHwTrap
impl Send for ExtendedHwTrap
impl Sync for ExtendedHwTrap
impl Unpin for ExtendedHwTrap
impl UnwindSafe for ExtendedHwTrap
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