pub struct SocketPair {
pub sv: [c_int; 2],
}
Fields§
§sv: [c_int; 2]
Trait Implementations§
Source§impl Clone for SocketPair
impl Clone for SocketPair
Source§fn clone(&self) -> SocketPair
fn clone(&self) -> SocketPair
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 SocketPair
impl Debug for SocketPair
Source§impl Hash for SocketPair
impl Hash for SocketPair
Source§impl Ord for SocketPair
impl Ord for SocketPair
Source§fn cmp(&self, other: &SocketPair) -> Ordering
fn cmp(&self, other: &SocketPair) -> 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 SocketPair
impl PartialEq for SocketPair
Source§impl PartialOrd for SocketPair
impl PartialOrd for SocketPair
impl Copy for SocketPair
impl Eq for SocketPair
impl StructuralPartialEq for SocketPair
Auto Trait Implementations§
impl Freeze for SocketPair
impl RefUnwindSafe for SocketPair
impl Send for SocketPair
impl Sync for SocketPair
impl Unpin for SocketPair
impl UnwindSafe for SocketPair
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