Enum dns_lookup::Protocol
source · pub enum Protocol {
ICMP,
TCP,
UDP,
}
Expand description
Socket Protocol
Cross platform enum of common Socket Protocols. For missing types use
the libc
and windows-sys
crates, depending on platform.
Variants§
ICMP
Internet Control Message Protocol.
TCP
Transmission Control Protocol.
UDP
User Datagram Protocol.
Trait Implementations§
source§impl PartialEq<Protocol> for i32
impl PartialEq<Protocol> for i32
source§impl PartialEq for Protocol
impl PartialEq for Protocol
impl Copy for Protocol
impl Eq for Protocol
impl StructuralEq for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
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