pub enum UdpCommand {
Send {
to: SocketAddr,
bytes: Vec<u8>,
},
Shutdown,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdpCommand
impl RefUnwindSafe for UdpCommand
impl Send for UdpCommand
impl Sync for UdpCommand
impl Unpin for UdpCommand
impl UnsafeUnpin for UdpCommand
impl UnwindSafe for UdpCommand
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