Trait StdIoErrorExt
Source pub trait StdIoErrorExt {
// Required method
fn wrap_io_err_with<C>(self, c: impl FnOnce() -> C) -> Self
where Self: Sized,
C: Display + Send + Sync + 'static;
// Provided methods
fn wrap_io_err<C>(self, c: C) -> Self
where Self: Sized,
C: Display + Send + Sync + 'static { ... }
fn with_io_context<C>(self, c: impl FnOnce() -> C) -> Self
where Self: Sized,
C: Display + Send + Sync + 'static { ... }
fn io_context<C>(self, c: C) -> Self
where Self: Sized,
C: Display + Send + Sync + 'static { ... }
}