pub enum CharSocket {
Tcp(CharSocketTcp),
Uds(CharSocketUds),
}Variants§
Tcp(CharSocketTcp)
Uds(CharSocketUds)
Trait Implementations§
Source§impl Clone for CharSocket
impl Clone for CharSocket
Source§fn clone(&self) -> CharSocket
fn clone(&self) -> CharSocket
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 CharSocket
impl Debug for CharSocket
Source§impl Hash for CharSocket
impl Hash for CharSocket
Source§impl Ord for CharSocket
impl Ord for CharSocket
Source§fn cmp(&self, other: &CharSocket) -> Ordering
fn cmp(&self, other: &CharSocket) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CharSocket
impl PartialEq for CharSocket
Source§impl PartialOrd for CharSocket
impl PartialOrd for CharSocket
impl Eq for CharSocket
impl StructuralPartialEq for CharSocket
Auto Trait Implementations§
impl Freeze for CharSocket
impl RefUnwindSafe for CharSocket
impl Send for CharSocket
impl Sync for CharSocket
impl Unpin for CharSocket
impl UnwindSafe for CharSocket
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