pub struct GenericStream { /* private fields */ }
Trait Implementations§
Source§impl Clone for GenericStream
impl Clone for GenericStream
Source§fn clone(&self) -> GenericStream
fn clone(&self) -> GenericStream
Returns a copy 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 GenericStream
impl Debug for GenericStream
Source§impl Endpoint<GenericStream> for GenericEndpoint<GenericStream>
impl Endpoint<GenericStream> for GenericEndpoint<GenericStream>
fn protocol(&self) -> GenericStream
Source§impl Ord for GenericStream
impl Ord for GenericStream
Source§fn cmp(&self, other: &GenericStream) -> Ordering
fn cmp(&self, other: &GenericStream) -> 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 GenericStream
impl PartialEq for GenericStream
Source§impl PartialOrd for GenericStream
impl PartialOrd for GenericStream
Source§impl Protocol for GenericStream
impl Protocol for GenericStream
type Endpoint = GenericEndpoint<GenericStream>
Source§fn family_type(&self) -> i32
fn family_type(&self) -> i32
Reurns a value suitable for passing as the domain argument.
Source§fn socket_type(&self) -> i32
fn socket_type(&self) -> i32
Returns a value suitable for passing as the type argument.
Source§fn protocol_type(&self) -> i32
fn protocol_type(&self) -> i32
Returns a value suitable for passing as the protocol argument.
unsafe fn uninitialized(&self) -> Self::Endpoint
impl Eq for GenericStream
impl StructuralPartialEq for GenericStream
Auto Trait Implementations§
impl Freeze for GenericStream
impl RefUnwindSafe for GenericStream
impl Send for GenericStream
impl Sync for GenericStream
impl Unpin for GenericStream
impl UnwindSafe for GenericStream
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