Crate zng_app_context
source ·Expand description
This crate is part of the zng
project.
App execution context.
Macros§
- Declares new app local variable.
- Declares new app and context local variable.
Structs§
- Identifies an app instance.
- An app local storage.
- Represents an app lifetime, ends the app on drop.
- Represents an
AppLocal<T>
value that can be temporarily overridden in a context. - Identifies a selection of
LocalContext
values. - A local context that can be loaded cheaply.
- Tracks the current execution context.
- Represents a read guard for an
Arc<RwLock<T>>
that owns a reference to it, mapped from another read guard. - Represents a write guard for an
Arc<RwLock<T>>
that owns a reference to it, mapped from another read guard. - Read-only wrapper on an
Arc<RwLock<T>>
contextual value. - Helper, runs a cleanup action once on drop.
- Represents a read guard for an
Arc<RwLock<T>>
that owns a reference to it. - Represents a read guard for an
Arc<RwLock<T>>
that owns a reference to it. - Lazy inited
AppId
. - Represents the
tracing::dispatcher::get_default
dispatcher in a context value set.
Enums§
- Defines a
LocalContext::capture_filtered
filter.
Traits§
- Provides an identifying key for a context local value.