Skip to main content

StopOnError

Trait StopOnError 

Source
pub trait StopOnError {
    // Required method
    fn stop_on_error(self) -> Self;
}
Expand description

A merged stream that can be told to end at the first failure.

Required Methods§

Source

fn stop_on_error(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream, H: Stream, I: Stream, J: Stream, K: Stream, L: Stream> StopOnError for Watching12<A, B, C, D, E, F, G, H, I, J, K, L>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream, H: Stream, I: Stream, J: Stream, K: Stream> StopOnError for Watching11<A, B, C, D, E, F, G, H, I, J, K>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream, H: Stream, I: Stream, J: Stream> StopOnError for Watching10<A, B, C, D, E, F, G, H, I, J>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream, H: Stream, I: Stream> StopOnError for Watching9<A, B, C, D, E, F, G, H, I>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream, H: Stream> StopOnError for Watching8<A, B, C, D, E, F, G, H>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream, G: Stream> StopOnError for Watching7<A, B, C, D, E, F, G>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream, F: Stream> StopOnError for Watching6<A, B, C, D, E, F>

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream, E: Stream> StopOnError for Watching5<A, B, C, D, E>
where A::Item: Fallible, B::Item: Fallible, C::Item: Fallible, D::Item: Fallible, E::Item: Fallible,

Source§

impl<A: Stream, B: Stream, C: Stream, D: Stream> StopOnError for Watching4<A, B, C, D>
where A::Item: Fallible, B::Item: Fallible, C::Item: Fallible, D::Item: Fallible,

Source§

impl<A: Stream, B: Stream, C: Stream> StopOnError for Watching3<A, B, C>
where A::Item: Fallible, B::Item: Fallible, C::Item: Fallible,

Source§

impl<A: Stream, B: Stream> StopOnError for Watching2<A, B>
where A::Item: Fallible, B::Item: Fallible,