Trait netstack3_base::socket::Inserter

source ·
pub trait Inserter<T> {
    // Required method
    fn insert(self, item: T);
}
Expand description

An inserter into a SocketMap.

Required Methods§

source

fn insert(self, item: T)

Inserts the provided item and consumes self.

Inserts a single item and consumes the inserter (thus preventing additional insertions).

Implementations on Foreign Types§

source§

impl<'a, T, E: Extend<T>> Inserter<T> for &'a mut E

source§

fn insert(self, item: T)

source§

impl<T> Inserter<T> for Infallible

source§

fn insert(self, _: T)

Implementors§