pub struct TcpTpktServer { /* private fields */ }Implementations§
Source§impl TcpTpktServer
impl TcpTpktServer
pub async fn listen(address: SocketAddr) -> Result<Self, TpktError>
pub async fn accept<'a>( &self, ) -> Result<(TcpTpktConnection, SocketAddr), TpktError>
Auto Trait Implementations§
impl !Freeze for TcpTpktServer
impl RefUnwindSafe for TcpTpktServer
impl Send for TcpTpktServer
impl Sync for TcpTpktServer
impl Unpin for TcpTpktServer
impl UnsafeUnpin for TcpTpktServer
impl UnwindSafe for TcpTpktServer
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