pub struct TcpCospListener<R: CotpReader, W: CotpWriter> { /* private fields */ }Implementations§
Source§impl<R: CotpReader, W: CotpWriter> TcpCospListener<R, W>
impl<R: CotpReader, W: CotpWriter> TcpCospListener<R, W>
pub async fn new( cotp_connection: impl CotpConnection, ) -> Result<(TcpCospListener<impl CotpReader, impl CotpWriter>, CospConnectionInformation), CospError>
Trait Implementations§
Source§impl<R: CotpReader, W: CotpWriter> CospListener for TcpCospListener<R, W>
impl<R: CotpReader, W: CotpWriter> CospListener for TcpCospListener<R, W>
async fn responder( self, ) -> Result<(impl CospResponder, CospConnectionInformation, Option<Vec<u8>>), CospError>
Auto Trait Implementations§
impl<R, W> Freeze for TcpCospListener<R, W>
impl<R, W> RefUnwindSafe for TcpCospListener<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for TcpCospListener<R, W>
impl<R, W> Sync for TcpCospListener<R, W>
impl<R, W> Unpin for TcpCospListener<R, W>
impl<R, W> UnwindSafe for TcpCospListener<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