Struct kube_runtime::controller::Context [−][src]
pub struct Context<T>(_);
Expand description
A context data type that’s passed through to the controllers callbacks
Context gets passed to both the reconciler and the error_policy callbacks,
allowing a read-only view of the world without creating a big nested lambda.
More or less the same as Actix’s Data.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Context<T> where
T: RefUnwindSafe, impl<T> UnwindSafe for Context<T> where
T: RefUnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more