pub struct Network { /* private fields */ }Expand description
Where a runtime’s QUIC sockets live: the operating system’s UDP (the default) or, with the
cargo feature test-util, a SimNet shared by the runtimes of one test. On a SimNet a
weida+unix binding and dial are simulated too (by path, with no socket file);
weida+inproc and weida+pipe are not affected.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Network
impl Freeze for Network
impl Move for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnsafeUnpin for Network
impl UnwindSafe for Network
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