pub struct AliasNet(/* private fields */);
Trait Implementations§
Source§impl INet for AliasNet
impl INet for AliasNet
fn tcp_connect<'life0: 'a, 'life1: 'a, 'a>(
&'life0 self,
ctx: &'life1 mut Context,
addr: Address,
) -> BoxFuture<'a, Result<TcpStream>>where
Self: 'a,
fn tcp_bind<'life0: 'a, 'life1: 'a, 'a>(
&'life0 self,
ctx: &'life1 mut Context,
addr: Address,
) -> BoxFuture<'a, Result<TcpListener>>where
Self: 'a,
fn udp_bind<'life0: 'a, 'life1: 'a, 'a>(
&'life0 self,
ctx: &'life1 mut Context,
addr: Address,
) -> BoxFuture<'a, Result<UdpSocket>>where
Self: 'a,
Auto Trait Implementations§
impl Freeze for AliasNet
impl !RefUnwindSafe for AliasNet
impl Send for AliasNet
impl Sync for AliasNet
impl Unpin for AliasNet
impl !UnwindSafe for AliasNet
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