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