Struct sGCEthernetInterface
#[repr(C)]pub struct sGCEthernetInterface {
pub interface: [i8; 50],
}Expand description
@brief Ethernet interface configuration
Contains the OS interface name for an ethernet interface. Plugins query this configuration by logical name to obtain the OS interface name. The plugin allocates this structure on the stack and passes a pointer to gcGetEthernetInterface.
Fields§
§interface: [i8; 50]@brief OS interface name (e.g., “eth0”, “enp0s3”)
Trait Implementations§
§impl Clone for sGCEthernetInterface
impl Clone for sGCEthernetInterface
§fn clone(&self) -> sGCEthernetInterface
fn clone(&self) -> sGCEthernetInterface
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 more§impl Debug for sGCEthernetInterface
impl Debug for sGCEthernetInterface
impl Copy for sGCEthernetInterface
Auto Trait Implementations§
impl Freeze for sGCEthernetInterface
impl RefUnwindSafe for sGCEthernetInterface
impl Send for sGCEthernetInterface
impl Sync for sGCEthernetInterface
impl Unpin for sGCEthernetInterface
impl UnsafeUnpin for sGCEthernetInterface
impl UnwindSafe for sGCEthernetInterface
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