Trait IntoIntrError

Source
pub trait IntoIntrError {
    type NonIntr;

    // Required method
    fn into_intr_error(self) -> IntrError<Self::NonIntr>;
}
Expand description

Trait for custom error types that can also represent interruption.

Required Associated Types§

Source

type NonIntr

Type representing other error (non-interrupt).

Required Methods§

Source

fn into_intr_error(self) -> IntrError<Self::NonIntr>

Performs the conversion.

Implementors§