Struct FnContext
pub struct FnContext { /* private fields */ }
Provides the calling context to a closure called by join_context.
Implementations
impl FnContext
fn migrated(&self) -> boolReturns
trueif the closure was called from a different thread than it was provided from.
Trait Implementations
impl Debug for FnContext
fn fmt(&self, f: &mut Formatter<'_>) -> Result