pub struct Stack(/* private fields */);Expand description
The STD network stack implementation.
This uses the standard library’s networking types under the hood,
wrapped in async-io’s Async type for async support.
The type is Copy and Clone, so it can be easily passed around.
Implementations§
Trait Implementations§
impl Copy for Stack
Source§impl Dns for Stack
impl Dns for Stack
Source§impl TcpBind for Stack
impl TcpBind for Stack
Source§type Accept<'a> = TcpAcceptor
where
Self: 'a
type Accept<'a> = TcpAcceptor where Self: 'a
The acceptor type returned by the factory
Source§impl TcpConnect for Stack
impl TcpConnect for Stack
Source§impl UdpConnect for Stack
impl UdpConnect for Stack
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnsafeUnpin for Stack
impl UnwindSafe for Stack
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