#[repr(C)]pub struct ethernet_vlan_snoop_interface {
pub attach: Option<unsafe extern "C" fn(link: *mut conf_object_t, clock: *mut conf_object_t, snoop_fun: ethernet_link_snoop_t, user_data: *mut lang_void, vlan_id: uint16, is_vlan_trunk: bool) -> *mut conf_object_t>,
}
Fields§
§attach: Option<unsafe extern "C" fn(link: *mut conf_object_t, clock: *mut conf_object_t, snoop_fun: ethernet_link_snoop_t, user_data: *mut lang_void, vlan_id: uint16, is_vlan_trunk: bool) -> *mut conf_object_t>
Trait Implementations§
source§impl Clone for ethernet_vlan_snoop_interface
impl Clone for ethernet_vlan_snoop_interface
source§fn clone(&self) -> ethernet_vlan_snoop_interface
fn clone(&self) -> ethernet_vlan_snoop_interface
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 Default for ethernet_vlan_snoop_interface
impl Default for ethernet_vlan_snoop_interface
source§fn default() -> ethernet_vlan_snoop_interface
fn default() -> ethernet_vlan_snoop_interface
Returns the “default value” for a type. Read more
source§impl Hash for ethernet_vlan_snoop_interface
impl Hash for ethernet_vlan_snoop_interface
source§impl Ord for ethernet_vlan_snoop_interface
impl Ord for ethernet_vlan_snoop_interface
source§fn cmp(&self, other: ðernet_vlan_snoop_interface) -> Ordering
fn cmp(&self, other: ðernet_vlan_snoop_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ethernet_vlan_snoop_interface
impl PartialEq for ethernet_vlan_snoop_interface
source§fn eq(&self, other: ðernet_vlan_snoop_interface) -> bool
fn eq(&self, other: ðernet_vlan_snoop_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for ethernet_vlan_snoop_interface
impl PartialOrd for ethernet_vlan_snoop_interface
impl Copy for ethernet_vlan_snoop_interface
impl Eq for ethernet_vlan_snoop_interface
impl StructuralPartialEq for ethernet_vlan_snoop_interface
Auto Trait Implementations§
impl Freeze for ethernet_vlan_snoop_interface
impl RefUnwindSafe for ethernet_vlan_snoop_interface
impl Send for ethernet_vlan_snoop_interface
impl Sync for ethernet_vlan_snoop_interface
impl Unpin for ethernet_vlan_snoop_interface
impl UnwindSafe for ethernet_vlan_snoop_interface
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
)