pub enum ServerNIC {
FromNetwork(NetworkRef),
WithPort(PortRef),
WithFixedIp(Ipv4Addr),
}
Expand description
A virtual NIC of a new server.
Variants
FromNetwork(NetworkRef)
A NIC from the given network.
WithPort(PortRef)
A NIC with the given port.
WithFixedIp(Ipv4Addr)
A NIC with the given fixed IP.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ServerNIC
impl Send for ServerNIC
impl Sync for ServerNIC
impl Unpin for ServerNIC
impl UnwindSafe for ServerNIC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more