Skip to main content

BackendError

Trait BackendError 

Source
pub trait BackendError: Display + Debug { }
Expand description

Associated error type used by all fallible backend methods.

Backends that are infallible (e.g. Headless, SoftwareRenderer) use core::convert::Infallible. Fallible backends (e.g. Crossterm) use std::io::Error.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl BackendError for Error

Available on crate feature std only.
Source§

impl BackendError for Infallible

Implementors§