pub trait AsSource: AsSocket {
// Provided method
fn source(&self) -> BorrowedSocket<'_> { ... }
}
Expand description
A resource with a borrowed socket.
Provided Methods§
sourcefn source(&self) -> BorrowedSocket<'_>
fn source(&self) -> BorrowedSocket<'_>
Returns the borrowed socket.