Type Alias ReleaseThreadHandler

Source
pub(crate) type ReleaseThreadHandler = dyn Fn() + Send + Sync;
Expand description

The type for a closure that gets invoked before blocking in a thread. Note that this same closure may be invoked multiple times in parallel.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: (unsized)