pub trait AsSockRef: Unpin {
// Required method
fn as_sock_ref(&self) -> SockRef<'_>;
}
Expand description
Trait implemented by socket types.
Required Methods§
sourcefn as_sock_ref(&self) -> SockRef<'_>
fn as_sock_ref(&self) -> SockRef<'_>
Returns a socket reference.