Struct TcpTransport
pub struct TcpTransport {
host: String,
port: u16,
}Expand description
Plain TCP transport (unencrypted).
Fields§
§host: String§port: u16Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpTransport
impl RefUnwindSafe for TcpTransport
impl Send for TcpTransport
impl Sync for TcpTransport
impl Unpin for TcpTransport
impl UnwindSafe for TcpTransport
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