Skip to main content

Fallible

Trait Fallible 

Source
pub trait Fallible {
    // Required method
    fn is_failure(&self) -> bool;
}
Expand description

An item that may be a failure — what Errors::Stop looks at. Implemented for Result, which every client stream yields.

Required Methods§

Source

fn is_failure(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T, E> Fallible for Result<T, E>

Implementors§

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible, H: Fallible, I: Fallible, J: Fallible, K: Fallible, L: Fallible> Fallible for Watched12<A, B, C, D, E, F, G, H, I, J, K, L>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible, H: Fallible, I: Fallible, J: Fallible, K: Fallible> Fallible for Watched11<A, B, C, D, E, F, G, H, I, J, K>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible, H: Fallible, I: Fallible, J: Fallible> Fallible for Watched10<A, B, C, D, E, F, G, H, I, J>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible, H: Fallible, I: Fallible> Fallible for Watched9<A, B, C, D, E, F, G, H, I>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible, H: Fallible> Fallible for Watched8<A, B, C, D, E, F, G, H>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible, G: Fallible> Fallible for Watched7<A, B, C, D, E, F, G>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible, F: Fallible> Fallible for Watched6<A, B, C, D, E, F>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible, E: Fallible> Fallible for Watched5<A, B, C, D, E>

Source§

impl<A: Fallible, B: Fallible, C: Fallible, D: Fallible> Fallible for Watched4<A, B, C, D>

Source§

impl<A: Fallible, B: Fallible, C: Fallible> Fallible for Watched3<A, B, C>

Source§

impl<A: Fallible, B: Fallible> Fallible for Watched2<A, B>