Struct stream_cancel::Trigger
source · pub struct Trigger(_);
Expand description
A handle to a set of cancellable streams.
If the Trigger
is dropped, any streams associated with it are interrupted (this is equivalent
to calling [Trigger::close
]. To override this behavior, call Trigger::disable
.