pub struct SandboxNetworkIdentity {
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 SandboxNetworkIdentity
impl Clone for SandboxNetworkIdentity
Source§impl Debug for SandboxNetworkIdentity
impl Debug for SandboxNetworkIdentity
impl Eq for SandboxNetworkIdentity
Source§impl PartialEq for SandboxNetworkIdentity
impl PartialEq for SandboxNetworkIdentity
impl StructuralPartialEq for SandboxNetworkIdentity
Auto Trait Implementations§
impl Freeze for SandboxNetworkIdentity
impl RefUnwindSafe for SandboxNetworkIdentity
impl Send for SandboxNetworkIdentity
impl Sync for SandboxNetworkIdentity
impl Unpin for SandboxNetworkIdentity
impl UnsafeUnpin for SandboxNetworkIdentity
impl UnwindSafe for SandboxNetworkIdentity
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.