Struct crosvm_plugin::crosvm_net_config
source · #[repr(C)]pub struct crosvm_net_config {
pub(crate) tap_fd: c_int,
pub(crate) host_ipv4_address: u32,
pub(crate) netmask: u32,
pub(crate) host_mac_address: [u8; 6],
pub(crate) _reserved: [u8; 2],
}
Fields§
§tap_fd: c_int
§host_ipv4_address: u32
§netmask: u32
§host_mac_address: [u8; 6]
§_reserved: [u8; 2]
Trait Implementations§
source§impl Clone for crosvm_net_config
impl Clone for crosvm_net_config
source§fn clone(&self) -> crosvm_net_config
fn clone(&self) -> crosvm_net_config
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 moreimpl Copy for crosvm_net_config
Auto Trait Implementations§
impl RefUnwindSafe for crosvm_net_config
impl Send for crosvm_net_config
impl Sync for crosvm_net_config
impl Unpin for crosvm_net_config
impl UnwindSafe for crosvm_net_config
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