pub struct TcpClient<Kind, P> { /* private fields */ }
Expand description
Builds client connections to external services.
To connect to a service, you need a client protocol implementation; see the crate documentation for guidance.
At the moment, this builder offers minimal configuration, but more will be added over time.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Kind, P> Freeze for TcpClient<Kind, P>
impl<Kind, P> RefUnwindSafe for TcpClient<Kind, P>where
Kind: RefUnwindSafe,
P: RefUnwindSafe,
impl<Kind, P> Send for TcpClient<Kind, P>
impl<Kind, P> Sync for TcpClient<Kind, P>
impl<Kind, P> Unpin for TcpClient<Kind, P>where
Kind: Unpin,
impl<Kind, P> UnwindSafe for TcpClient<Kind, P>where
Kind: UnwindSafe,
P: RefUnwindSafe,
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