pub fn publish_dispatch_organ_claims(cx: &mut Cx) -> Result<()>Expand description
Publishes the dispatch organ’s claims and operation keys into a Cx.
The kernel defines the claim/organ contract; this crate supplies the dispatch organ’s operation set. After publishing, the organ and its ops are discoverable through the standard Card projection.
§Examples
use std::sync::Arc;
use sim_kernel::{Cx, DefaultFactory, NoopEvalPolicy};
use sim_lib_dispatch::publish_dispatch_organ_claims;
let mut cx = Cx::new(Arc::new(NoopEvalPolicy), Arc::new(DefaultFactory));
publish_dispatch_organ_claims(&mut cx).unwrap();