pub trait SocketIteratorExt: Iterator<Item = Result<SocketInfo, Error>> + Sized {
// Provided method
fn filter_by_query(self, query: SocketQuery) -> FilterByQuery<Self> ⓘ { ... }
}Expand description
Provides convenient filtering helpers for iterators that yield SocketInfo values.
Provided Methods§
Sourcefn filter_by_query(self, query: SocketQuery) -> FilterByQuery<Self> ⓘ
fn filter_by_query(self, query: SocketQuery) -> FilterByQuery<Self> ⓘ
Filters sockets using the provided SocketQuery.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.