pub struct VethPair {
pub host_name: String,
pub container_name: String,
pub container_id: String,
pub ip_address: String,
pub mac_address: String,
}Expand description
Veth pair representing a container-to-bridge link.
Fields§
§host_name: StringHost-side veth name.
container_name: StringContainer-side veth name.
container_id: StringContainer ID.
ip_address: StringAssigned IP address.
mac_address: StringMAC address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VethPair
impl RefUnwindSafe for VethPair
impl Send for VethPair
impl Sync for VethPair
impl Unpin for VethPair
impl UnwindSafe for VethPair
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)