Crate dropout

source ·
Expand description

Dropout allow to send an object in a background thread to be dropped there.

Dropout is inspired by defer-drop and (as defer-drop itself) by https://abramov.io/rust-dropping-things-in-another-thread

See Dropper for details.

Structs§

  • Dropper can send object to a background thread to be dropped there. Useful when the object takes a long time to drop and you don’t want your (main) thread to be blocked while you drop it.