ClosureKind

Trait ClosureKind 

Source
pub trait ClosureKind { }
Expand description

Denotes whether a closure has been provided. A request can not be built at all without a closure.

See SpawnRequestBuilder for usage details.

Implementors§

Source§

impl ClosureKind for ClosureNone

Source§

impl<T: Send + 'static, FN: FnOnce(&mut Locked<Unlocked>, &CurrentTask) -> T + Send + 'static> ClosureKind for FN

A builder type state where a closure has been provided. See SpawnRequestBuilder for usage details.