#[repr(u32)]pub enum ProtKind {
Stream = 0,
Datagram = 1,
}Variants§
Trait Implementations§
Source§impl Ord for ProtKind
impl Ord for ProtKind
Source§impl PartialOrd for ProtKind
impl PartialOrd for ProtKind
impl Copy for ProtKind
impl Eq for ProtKind
impl StructuralPartialEq for ProtKind
Auto Trait Implementations§
impl Freeze for ProtKind
impl RefUnwindSafe for ProtKind
impl Send for ProtKind
impl StoreCopy for ProtKind
impl Sync for ProtKind
impl Unpin for ProtKind
impl UnwindSafe for ProtKind
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