pub struct ActivationSet { /* private fields */ }Expand description
Duplicate-activation guard used when composing an agent’s capability set.
Callers canonicalize each incoming reference (via their registry) and then
activate it; the second activation of the
same canonical id fails with CapabilityError::Duplicate. Duplicate ids
are never merged and later registrations never overwrite earlier ones.
Implementations§
Source§impl ActivationSet
impl ActivationSet
Trait Implementations§
Source§impl Clone for ActivationSet
impl Clone for ActivationSet
Source§fn clone(&self) -> ActivationSet
fn clone(&self) -> ActivationSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActivationSet
impl Debug for ActivationSet
Source§impl Default for ActivationSet
impl Default for ActivationSet
Source§fn default() -> ActivationSet
fn default() -> ActivationSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActivationSet
impl RefUnwindSafe for ActivationSet
impl Send for ActivationSet
impl Sync for ActivationSet
impl Unpin for ActivationSet
impl UnsafeUnpin for ActivationSet
impl UnwindSafe for ActivationSet
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