pub struct StickyModelFallbackActivationProof { /* private fields */ }Expand description
One-shot authorization for an exact sticky model-fallback activation.
There is deliberately no public constructor and the fields are private.
The constructor is owned by the agent module, so only the core agent loop
can mint this value after generated recovery acceptance and exact
effective-registry validation. A public
crate::handles::ModelRoutingHandle therefore cannot be driven directly
with a caller-minted or foreign-registry profile.
ⓘ
use meerkat_core::StickyModelFallbackActivationProof;
// Routing callers cannot fabricate an activation proof.
let _proof = StickyModelFallbackActivationProof::new();Implementations§
Source§impl StickyModelFallbackActivationProof
impl StickyModelFallbackActivationProof
Sourcepub fn previous_identity(&self) -> &SessionLlmIdentity
pub fn previous_identity(&self) -> &SessionLlmIdentity
Exact identity the generated recovery transition must still own.
Sourcepub fn target_identity(&self) -> &SessionLlmIdentity
pub fn target_identity(&self) -> &SessionLlmIdentity
Exact registry-resolved identity being activated.
Sourcepub fn target_profile(&self) -> &ModelProfileWitness
pub fn target_profile(&self) -> &ModelProfileWitness
Registry-owned target profile carried by this authorization.
Sourcepub fn target_capability_base_filter(&self) -> &ToolFilter
pub fn target_capability_base_filter(&self) -> &ToolFilter
Registry-derived capability filter for the target model.
Sourcepub fn retry_attempt(&self) -> u32
pub fn retry_attempt(&self) -> u32
Machine-accepted retry attempt bound into this authorization.
Auto Trait Implementations§
impl Freeze for StickyModelFallbackActivationProof
impl RefUnwindSafe for StickyModelFallbackActivationProof
impl Send for StickyModelFallbackActivationProof
impl Sync for StickyModelFallbackActivationProof
impl Unpin for StickyModelFallbackActivationProof
impl UnsafeUnpin for StickyModelFallbackActivationProof
impl UnwindSafe for StickyModelFallbackActivationProof
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