Crate stopper

source ·
Expand description

§Stopper

The primary type for this crate is Stopper, which provides a synchronized mechanism for canceling Futures and Streams.

Structs§

  • A wrapper that cancels the contained Future at an await point and returns None when the associated Stopper is stopped.
  • A future that awaits this Stopper being stopped
  • This struct provides a synchronized mechanism for canceling Futures and Streams.
  • A wrapper type that stops a [Stream] when the associated Stopper is stopped