pub trait BufError {
// Required methods
fn would_block(&self) -> bool;
fn was_interrupted(&self) -> bool;
}Required Methods§
fn would_block(&self) -> bool
fn was_interrupted(&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 BufError for Error
Available on crate feature std-io only.
impl BufError for Error
Available on crate feature
std-io only.