pub trait AsSocket {
fn as_socket(&self) -> BorrowedSocket<'_>;
}
Available on Windows only.
Expand description
A trait to borrow the socket from an underlying object.
Required Methods
fn as_socket(&self) -> BorrowedSocket<'_>
fn as_socket(&self) -> BorrowedSocket<'_>
Borrows the socket.