pub enum ProtocolSocketInfo {
Tcp(TcpSocketInfo),
Udp(UdpSocketInfo),
}
Expand description
Protocol-specific socket information.
Variants§
Tcp(TcpSocketInfo)
TCP-specific socket information.
Udp(UdpSocketInfo)
UDP-specific socket information.
Trait Implementations§
Source§impl Clone for ProtocolSocketInfo
impl Clone for ProtocolSocketInfo
Source§fn clone(&self) -> ProtocolSocketInfo
fn clone(&self) -> ProtocolSocketInfo
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 ProtocolSocketInfo
impl Debug for ProtocolSocketInfo
Source§impl PartialEq for ProtocolSocketInfo
impl PartialEq for ProtocolSocketInfo
impl StructuralPartialEq for ProtocolSocketInfo
Auto Trait Implementations§
impl Freeze for ProtocolSocketInfo
impl RefUnwindSafe for ProtocolSocketInfo
impl Send for ProtocolSocketInfo
impl Sync for ProtocolSocketInfo
impl Unpin for ProtocolSocketInfo
impl UnwindSafe for ProtocolSocketInfo
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