pub struct Cast {
pub singleton: BTreeMap<String, AgentKey>,
pub indexed: BTreeMap<String, BTreeSet<AgentKey>>,
pub dialect_pin: Option<String>,
}Expand description
The assignment of agents to roles for one thread (CON-601, REQ-611).
Nominated by the initiator at the causal root; tamper-evident because the
root’s content hash anchors every subsequent :caused-by link. Indexed
memberships are sealed: occupant-dependent checks read them exclusively
from here (REQ-614).
Fields§
§singleton: BTreeMap<String, AgentKey>§indexed: BTreeMap<String, BTreeSet<AgentKey>>§dialect_pin: Option<String>REQ-628: the f1220<hex64> content hash of the dialect that
governs the thread, from the wrapper’s optional :dialect field.
None for an unpinned root (accepted during the spec’s
warn-then-reject transition window).
Implementations§
Trait Implementations§
impl Eq for Cast
impl StructuralPartialEq for Cast
Auto Trait Implementations§
impl Forget for Cast
impl Freeze for Castwhere
*const LeafNode<String, AgentKey> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, AgentKey)>>: Freeze,
*const LeafNode<String, BTreeSet<AgentKey>> is !null: Freeze,
PhantomData<Box<(String, BTreeSet<AgentKey>)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for Cast
impl RefUnwindSafe for Cast
impl Send for Cast
impl Sync for Cast
impl Unpin for Cast
impl UnsafeUnpin for Castwhere
*const LeafNode<String, AgentKey> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, AgentKey)>>: UnsafeUnpin,
*const LeafNode<String, BTreeSet<AgentKey>> is !null: UnsafeUnpin,
PhantomData<Box<(String, BTreeSet<AgentKey>)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Castwhere
BTreeMap<String, AgentKey>: UnwindSafe,
BTreeMap<String, BTreeSet<AgentKey>>: UnwindSafe,
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more