Struct FnContext

pub struct FnContext { /* private fields */ }

Provides the calling context to a closure called by join_context.

Implementations

impl FnContext

fn migrated(&self) -> bool

Returns true if 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

Auto Trait Implementations

impl !Send for FnContext

impl !Sync for FnContext

impl Freeze for FnContext

impl RefUnwindSafe for FnContext

impl Unpin for FnContext

impl UnsafeUnpin for FnContext

impl UnwindSafe for FnContext

Blanket Implementations

impl<T> Any for FnContext where T: 'static + ?Sized,

impl<T> Borrow<T> for FnContext where T: ?Sized,

impl<T> BorrowMut<T> for FnContext where T: ?Sized,

impl<T> From<T> for FnContext

impl<T> Pointable for FnContext

impl<T, U> Into<U> for FnContext where U: From<T>,

impl<T, U> TryFrom<U> for FnContext where U: Into<T>,

impl<T, U> TryInto<U> for FnContext where U: TryFrom<T>,