pub struct TcpTransport { /* private fields */ }Expand description
TCP transport speaking RFC 1002 session protocol over io_uring.
Implementations§
Trait Implementations§
Source§impl Debug for TcpTransport
impl Debug for TcpTransport
Source§impl Transport for TcpTransport
impl Transport for TcpTransport
Source§fn recv<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Option<Frame>, TransportError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recv<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Option<Frame>, TransportError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Receive the next frame.
Ok(None) signals a clean end of stream.Auto Trait Implementations§
impl !RefUnwindSafe for TcpTransport
impl !Send for TcpTransport
impl !Sync for TcpTransport
impl !UnwindSafe for TcpTransport
impl Freeze for TcpTransport
impl Unpin for TcpTransport
impl UnsafeUnpin 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