pub trait EntryKey {
    // Required method
    fn get_key_index(&self) -> usize;
}
Expand description

A key providing an index into an IdMap.

Required Methods§

source

fn get_key_index(&self) -> usize

Returns the index for this key.

Implementations on Foreign Types§

source§

impl EntryKey for usize

Implementors§

source§

impl<I: Ip> EntryKey for netstack3_core::ip::icmp::SocketId<I>

source§

impl<I: Ip> EntryKey for BoundId<I>

source§

impl<I: Ip> EntryKey for ConnectionId<I>

source§

impl<I: Ip> EntryKey for ListenerId<I>

source§

impl<I: Ip> EntryKey for UnboundId<I>

source§

impl<I: Ip> EntryKey for netstack3_core::transport::udp::SocketId<I>

source§

impl<O> EntryKey for Owhere O: IdMapCollectionKey,