pub fn loaded<T: Load>(cx: &Cx) -> Option<&T>Expand description
The T the request’s panel loaded. None when the panel does not load T,
and where no request loaded it: a signed-out page, a route outside the panel, or a context
built for a job with PanelHandle::context.
A policy reads None as a refusal: loaded::<Plan>(cx).is_some_and(..).