Struct rust_rcs_core::io::network::sock::NativeSocket
source · pub struct NativeSocket { /* private fields */ }
Expand description
needed since Socket2 crate does not cope well with async api
Implementations§
Trait Implementations§
source§impl Drop for NativeSocket
impl Drop for NativeSocket
source§impl From<NativeSocket> for TcpStream
impl From<NativeSocket> for TcpStream
source§fn from(sock: NativeSocket) -> Self
fn from(sock: NativeSocket) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for NativeSocket
impl Send for NativeSocket
impl Sync for NativeSocket
impl Unpin for NativeSocket
impl UnwindSafe for NativeSocket
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