pub trait HandleContentAware { }Expand description
Opt-in marker required when NodeLogging.handle_content is non-default. Codegen
emits a compile-time bound check against this trait, so an unmarked payload
surfaces as a clear compile error instead of a silent runtime no-op.
ⓘ
impl cu29::pool::HandleContentAware for MyPayload {}The impl is the gate; for the policy to actually fire, the payload must also
forward apply_handle_content_policy
and payload_should_log to an inner CuHandle
(see CuImage). CuHandle itself satisfies both halves.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".