netstack3_device::socket

Type Alias SocketId

Source
pub type SocketId<BC> = DeviceSocketId<WeakDeviceId<BC>, BC>;
Expand description

Public identifier for a socket.

Strongly owns the state of the socket. So long as the SocketId for a socket is not dropped, the socket is guaranteed to exist.

Aliased Typeยง

struct SocketId<BC>(/* private fields */);