SocketMetadata

Trait SocketMetadata 

Source
pub trait SocketMetadata<CC>
where CC: ?Sized,
{ // Required methods fn socket_cookie(&self, core_ctx: &mut CC) -> SocketCookie; 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§

Returns Socket cookie for the socket.

Source

fn marks(&self, core_ctx: &mut CC) -> Marks

Returns Socket Marks.

Implementors§