pub fn bracket<A, O, St, FAcq, FUse, FRel, R>( acquire: FAcq, use_fn: FUse, release: FRel, ) -> RS2Stream<O>where FAcq: Future<Output = A> + Send + 'static, FUse: FnOnce(A) -> St + Send + 'static, St: Stream<Item = O> + Send + 'static, FRel: FnOnce(A) -> R + Send + 'static, R: Future<Output = ()> + Send + 'static, O: Send + 'static, A: Clone + Send + 'static,
Bracket for simple resource handling