pub enum ProtocolV1Inet {
Tcp4,
Tcp6,
None,
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolV1Inet
impl Clone for ProtocolV1Inet
Source§fn clone(&self) -> ProtocolV1Inet
fn clone(&self) -> ProtocolV1Inet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtocolV1Inet
Source§impl Debug for ProtocolV1Inet
impl Debug for ProtocolV1Inet
impl Eq for ProtocolV1Inet
Source§impl PartialEq for ProtocolV1Inet
impl PartialEq for ProtocolV1Inet
Source§fn eq(&self, other: &ProtocolV1Inet) -> bool
fn eq(&self, other: &ProtocolV1Inet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV1Inet
Auto Trait Implementations§
impl Freeze for ProtocolV1Inet
impl RefUnwindSafe for ProtocolV1Inet
impl Send for ProtocolV1Inet
impl Sync for ProtocolV1Inet
impl Unpin for ProtocolV1Inet
impl UnsafeUnpin for ProtocolV1Inet
impl UnwindSafe for ProtocolV1Inet
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