Skip to main content

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.

Implementations on Foreign Types§

Source§

impl<T, O, CC> SocketMetadata<CC> for EitherStack<T, O>
where CC: ?Sized, T: SocketMetadata<CC>, O: SocketMetadata<CC>,

Source§

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

Implementors§