Skip to main content

TryIgnore

Trait TryIgnore 

Source
pub trait TryIgnore<Item>
where Item: Send, Self: Send + Sized,
{ // Required methods fn ignore_err(self) -> impl Stream<Item = Item> + Send; fn ignore_ok(self) -> impl Stream<Item = Error> + Send; }

Required Methods§

Source

fn ignore_err(self) -> impl Stream<Item = Item> + Send

Source

fn ignore_ok(self) -> impl Stream<Item = Error> + Send

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.

Implementors§

Source§

impl<Item, S> TryIgnore<Item> for S
where S: Stream<Item = Result<Item>> + Send + TryStream + TryExpect<Item>, Item: Send, Self: Send + Sized,