pub enum UdpSocketType {
Dgram,
Raw,
}Expand description
UDP socket type, either DGRAM or RAW.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UdpSocketType
impl Clone for UdpSocketType
Source§fn clone(&self) -> UdpSocketType
fn clone(&self) -> UdpSocketType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UdpSocketType
impl Debug for UdpSocketType
Source§impl PartialEq for UdpSocketType
impl PartialEq for UdpSocketType
impl Copy for UdpSocketType
impl Eq for UdpSocketType
impl StructuralPartialEq for UdpSocketType
Auto Trait Implementations§
impl Freeze for UdpSocketType
impl RefUnwindSafe for UdpSocketType
impl Send for UdpSocketType
impl Sync for UdpSocketType
impl Unpin for UdpSocketType
impl UnwindSafe for UdpSocketType
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