pub struct InterfaceParams {
pub iface_id: String,
pub mode: VmnetMode,
pub bridged_iface_name: Option<String>,
pub mtu: Option<u32>,
pub start_timeout: Duration,
pub enable_isolation: bool,
}Expand description
Inputs for VmnetIface::start.
Fields§
§iface_id: Stringiface_id from the /network-interfaces/{id} PUT body. Used to derive
the deterministic vmnet handle name.
mode: VmnetModeVmnet operating mode.
bridged_iface_name: Option<String>Optional bridged-mode physical interface name (e.g. en0). Ignored
for shared / host modes.
mtu: Option<u32>Optional explicit MTU; defaults to vmnet’s reported MTU when None.
start_timeout: DurationWait budget for the async start callback.
enable_isolation: boolWhether to enable inter-VM isolation (vmnet_enable_isolation_key).
Default true — Lambda-shaped guests should not see each other.
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceParams
impl Clone for InterfaceParams
Source§fn clone(&self) -> InterfaceParams
fn clone(&self) -> InterfaceParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InterfaceParams
impl RefUnwindSafe for InterfaceParams
impl Send for InterfaceParams
impl Sync for InterfaceParams
impl Unpin for InterfaceParams
impl UnsafeUnpin for InterfaceParams
impl UnwindSafe for InterfaceParams
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