pub struct TcpConnect {
pub host: String,
pub port: u16,
}Expand description
Request to open a TCP connection from inside the guest.
Fields§
§host: StringDestination host name or address as seen by the guest.
port: u16Destination TCP port.
Trait Implementations§
Source§impl Clone for TcpConnect
impl Clone for TcpConnect
Source§fn clone(&self) -> TcpConnect
fn clone(&self) -> TcpConnect
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 TcpConnect
impl Debug for TcpConnect
Source§impl<'de> Deserialize<'de> for TcpConnect
impl<'de> Deserialize<'de> for TcpConnect
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TcpConnect
impl RefUnwindSafe for TcpConnect
impl Send for TcpConnect
impl Sync for TcpConnect
impl Unpin for TcpConnect
impl UnsafeUnpin for TcpConnect
impl UnwindSafe for TcpConnect
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