pub struct ExposeHostMapping {
pub host_port: u16,
pub guest_port: u16,
}Expand description
A host port exposed to the guest via host.shuru.internal.
Fields§
§host_port: u16Port on the host (127.0.0.1:host_port).
guest_port: u16Port the guest connects to (host.shuru.internal:guest_port).
Trait Implementations§
Source§impl Clone for ExposeHostMapping
impl Clone for ExposeHostMapping
Source§fn clone(&self) -> ExposeHostMapping
fn clone(&self) -> ExposeHostMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExposeHostMapping
impl RefUnwindSafe for ExposeHostMapping
impl Send for ExposeHostMapping
impl Sync for ExposeHostMapping
impl Unpin for ExposeHostMapping
impl UnsafeUnpin for ExposeHostMapping
impl UnwindSafe for ExposeHostMapping
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