Skip to main content

FnContextSendSync

Trait FnContextSendSync 

Source
pub trait FnContextSendSync<R>:
    Fn(Context) -> R
    + Send
    + Sync { }
Expand description

A generic trait for functions that take a Context and return a value.

This trait encapsulates the common behavior of being a sendable, synchronous function that accepts a Context. It is used as a base for other, more specific function traits.

Implementorsยง