Trait failure_ext::StreamErrorContext
source · pub trait StreamErrorContext: Stream + Sized {
// Required methods
fn context<D>(self, context: D) -> ContextStream<Self, D>
where D: Display + Clone + Send + Sync + 'static;
fn with_context<D, F>(self, f: F) -> WithContextStream<Self, F>
where D: Display + Clone + Send + Sync + 'static,
F: FnMut() -> D;
}
Expand description
“Context” support for streams.
Required Methods§
Object Safety§
This trait is not object safe.