pub struct Transport { /* private fields */ }Expand description
Shared transport holding:
- a single UDP socket
- a map of remote_addr -> channel sender
- a task to read incoming datagrams and dispatch them
- a task to remove connection entries when Connections drop
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Transport
impl !RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
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