pub struct ComputerNetworkIdentity {
pub ip: Ipv4Addr,
pub cleanup_token: String,
pub expose: HostIngress,
}Expand description
A sandbox’s network identity as seen by forwarding and DNS consumers.
Fields§
§ip: Ipv4AddrExternal pool IP — the address the rest of the system keeps using.
cleanup_token: StringOpaque generation token carried through host cleanup finalization.
expose: HostIngressHow expose DNAT must target this sandbox, decided by the datapath actually applied to its TAP (CORE-81/CORE-83).
The guest network’s own answer, passed through unchanged: rendering it as forwarding rules is the composing host’s job, and only that host knows which network it built.
Trait Implementations§
Source§impl Clone for ComputerNetworkIdentity
impl Clone for ComputerNetworkIdentity
Source§impl Debug for ComputerNetworkIdentity
impl Debug for ComputerNetworkIdentity
impl Eq for ComputerNetworkIdentity
Source§impl PartialEq for ComputerNetworkIdentity
impl PartialEq for ComputerNetworkIdentity
impl StructuralPartialEq for ComputerNetworkIdentity
Auto Trait Implementations§
impl Freeze for ComputerNetworkIdentity
impl RefUnwindSafe for ComputerNetworkIdentity
impl Send for ComputerNetworkIdentity
impl Sync for ComputerNetworkIdentity
impl Unpin for ComputerNetworkIdentity
impl UnsafeUnpin for ComputerNetworkIdentity
impl UnwindSafe for ComputerNetworkIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.