pub struct TcpCotpConnection<R: TpktReader, W: TpktWriter> { /* private fields */ }Implementations§
Source§impl<R: TpktReader, W: TpktWriter> TcpCotpConnection<R, W>
impl<R: TpktReader, W: TpktWriter> TcpCotpConnection<R, W>
pub async fn initiate( connection: impl TpktConnection, options: CotpConnectInformation, ) -> Result<TcpCotpConnection<impl TpktReader, impl TpktWriter>, CotpError>
Trait Implementations§
Source§impl<R: TpktReader, W: TpktWriter> CotpConnection for TcpCotpConnection<R, W>
impl<R: TpktReader, W: TpktWriter> CotpConnection for TcpCotpConnection<R, W>
async fn split(self) -> Result<(impl CotpReader, impl CotpWriter), CotpError>
Auto Trait Implementations§
impl<R, W> Freeze for TcpCotpConnection<R, W>
impl<R, W> RefUnwindSafe for TcpCotpConnection<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for TcpCotpConnection<R, W>
impl<R, W> Sync for TcpCotpConnection<R, W>
impl<R, W> Unpin for TcpCotpConnection<R, W>
impl<R, W> UnwindSafe for TcpCotpConnection<R, W>where
R: UnwindSafe,
W: UnwindSafe,
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