pub trait SocketMetadata<CC>where
CC: ?Sized,{
// Required methods
fn socket_info(&self, core_ctx: &mut CC) -> SocketInfo;
fn marks(&self, _core_ctx: &mut CC) -> Marks;
}Expand description
Trait that provides basic socket information for types that carry a socket ID.
Required Methods§
Sourcefn socket_info(&self, core_ctx: &mut CC) -> SocketInfo
fn socket_info(&self, core_ctx: &mut CC) -> SocketInfo
Returns the SocketInfo for the socket.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".