pub struct GatewayIps {
pub ipv4: Ipv4Addr,
pub ipv6: Ipv6Addr,
}Expand description
Per-sandbox gateway addresses (v4 + v6) owned by the smoltcp virtual stack.
Both families are always assigned. The proxy’s resolve_host_dst helper uses
these to rewrite gateway-bound connections to loopback at dial time.
Fields§
§ipv4: Ipv4AddrGateway IPv4.
ipv6: Ipv6AddrGateway IPv6.
Trait Implementations§
Source§impl Clone for GatewayIps
impl Clone for GatewayIps
Source§fn clone(&self) -> GatewayIps
fn clone(&self) -> GatewayIps
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 moreSource§impl Debug for GatewayIps
impl Debug for GatewayIps
impl Copy for GatewayIps
Auto Trait Implementations§
impl Freeze for GatewayIps
impl RefUnwindSafe for GatewayIps
impl Send for GatewayIps
impl Sync for GatewayIps
impl Unpin for GatewayIps
impl UnsafeUnpin for GatewayIps
impl UnwindSafe for GatewayIps
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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