pub struct NetStack { /* private fields */ }Implementations§
Source§impl NetStack
impl NetStack
pub fn new(config: NetStackConfig) -> (Self, TcpConnection, UdpTunnel)
pub fn split(self) -> (StackSplitSink, StackSplitStream)
Auto Trait Implementations§
impl Freeze for NetStack
impl RefUnwindSafe for NetStack
impl Send for NetStack
impl Sync for NetStack
impl Unpin for NetStack
impl UnsafeUnpin for NetStack
impl UnwindSafe for NetStack
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