pub struct Tcp;Implementations§
Source§impl Tcp
impl Tcp
pub async fn outgoing_connection(addr: SocketAddr) -> Result<OutgoingConnection>
pub async fn bind( addr: SocketAddr, ) -> Result<Source<Result<IncomingConnection>>>
Auto Trait Implementations§
impl Freeze for Tcp
impl RefUnwindSafe for Tcp
impl Send for Tcp
impl Sync for Tcp
impl Unpin for Tcp
impl UnsafeUnpin for Tcp
impl UnwindSafe for Tcp
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