pub struct TcpClient { /* private fields */ }
Implementations§
Source§impl TcpClient
impl TcpClient
Sourcepub async fn send_buf<K: ToSocketAddrs, T: IoBuf>(
&self,
key: K,
buf: T,
) -> Result<T, TcpClientError>
pub async fn send_buf<K: ToSocketAddrs, T: IoBuf>( &self, key: K, buf: T, ) -> Result<T, TcpClientError>
Sends a buffer to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpClient
impl !RefUnwindSafe for TcpClient
impl !Send for TcpClient
impl !Sync for TcpClient
impl Unpin for TcpClient
impl !UnwindSafe for TcpClient
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