pub fn bracket_case<A, O, E, St, FAcq, FUse, FRel, R>(
acquire: FAcq,
use_fn: FUse,
release: FRel,
) -> RS2Stream<Result<O, E>>where
FAcq: Future<Output = A> + Send + 'static,
FUse: FnOnce(A) -> St + Send + 'static,
St: Stream<Item = Result<O, E>> + Send + 'static,
FRel: FnOnce(A, ExitCase<E>) -> R + Send + 'static,
R: Future<Output = ()> + Send + 'static,
O: Send + 'static,
E: Clone + Send + 'static,
A: Clone + Send + 'static,Expand description
BracketCase with exit case semantics for streams of Result<O,E>