pub fn publish_binding_organ_claims(cx: &mut Cx) -> Result<()>Expand description
Publishes the binding organ’s claims and operation keys into a Cx.
The kernel defines the claim/organ contract; this crate supplies the binding 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_binding::publish_binding_organ_claims;
let mut cx = Cx::new(Arc::new(NoopEvalPolicy), Arc::new(DefaultFactory));
publish_binding_organ_claims(&mut cx).unwrap();