pub enum TcpSocketType {
Stream,
Raw,
}Expand description
TCP socket type, either STREAM or RAW.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TcpSocketType
impl Clone for TcpSocketType
Source§fn clone(&self) -> TcpSocketType
fn clone(&self) -> TcpSocketType
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 TcpSocketType
impl Debug for TcpSocketType
Source§impl PartialEq for TcpSocketType
impl PartialEq for TcpSocketType
impl Copy for TcpSocketType
impl Eq for TcpSocketType
impl StructuralPartialEq for TcpSocketType
Auto Trait Implementations§
impl Freeze for TcpSocketType
impl RefUnwindSafe for TcpSocketType
impl Send for TcpSocketType
impl Sync for TcpSocketType
impl Unpin for TcpSocketType
impl UnwindSafe for TcpSocketType
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