pub struct CombineNet(/* private fields */);
Trait Implementations§
Source§impl INet for CombineNet
impl INet for CombineNet
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,
Source§impl NetFactory for CombineNet
impl NetFactory for CombineNet
Auto Trait Implementations§
impl Freeze for CombineNet
impl !RefUnwindSafe for CombineNet
impl Send for CombineNet
impl Sync for CombineNet
impl Unpin for CombineNet
impl !UnwindSafe for CombineNet
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