pub enum UdpMode {
Udpin,
Udpout,
Udpcast,
}
Expand description
Type of UDP connection
Variants§
Udpin
Server connection waiting for a client connection
Udpout
Client connection connecting to a server
Udpcast
Client connection that is allowed to send to broadcast addresses
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdpMode
impl RefUnwindSafe for UdpMode
impl Send for UdpMode
impl Sync for UdpMode
impl Unpin for UdpMode
impl UnwindSafe for UdpMode
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