pub struct GatewayIps {
pub ipv4: Option<Ipv4Addr>,
pub ipv6: Option<Ipv6Addr>,
}Expand description
Per-sandbox gateway addresses owned by the smoltcp virtual stack.
Each family is Some when active for this sandbox and None otherwise.
resolve_host_dst rewrites gateway-bound connections to loopback at dial time.
Fields§
§ipv4: Option<Ipv4Addr>Gateway IPv4.
ipv6: Option<Ipv6Addr>Gateway 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