pub enum SocketDirection {
Input,
Output,
}Expand description
Direction of a socket — input or output.
Variants§
Trait Implementations§
Source§impl Clone for SocketDirection
impl Clone for SocketDirection
Source§fn clone(&self) -> SocketDirection
fn clone(&self) -> SocketDirection
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 SocketDirection
impl Debug for SocketDirection
Source§impl Hash for SocketDirection
impl Hash for SocketDirection
Source§impl PartialEq for SocketDirection
impl PartialEq for SocketDirection
impl Copy for SocketDirection
impl Eq for SocketDirection
impl StructuralPartialEq for SocketDirection
Auto Trait Implementations§
impl Freeze for SocketDirection
impl RefUnwindSafe for SocketDirection
impl Send for SocketDirection
impl Sync for SocketDirection
impl Unpin for SocketDirection
impl UnsafeUnpin for SocketDirection
impl UnwindSafe for SocketDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.