Struct telexide_fork::client::Context [−][src]
Expand description
The context object is an utility object that gets passed to all event handlers, it provides access to the API client and to any custom data you have set in the data object.
Fields
api: Arc<Box<dyn API + Send>>The API client, implementing the API trait
data: Arc<RwLock<ShareMap>>A clone of Client::data, see its documentation for more detail
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Context
impl !UnwindSafe for Context
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more