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
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