pub enum SkillContext {
MetadataOnly(SkillManifest, PathBuf),
WithInstructions(Skill),
Full(Skill),
}Expand description
Progressive disclosure context for skill loading
Variants§
MetadataOnly(SkillManifest, PathBuf)
Level 1: Only metadata (~100 tokens)
WithInstructions(Skill)
Level 2: Metadata + instructions (<5K tokens)
Full(Skill)
Level 3: Full skill with resources loaded
Implementations§
Trait Implementations§
Source§impl Clone for SkillContext
impl Clone for SkillContext
Auto Trait Implementations§
impl Forget for SkillContext
impl Freeze for SkillContextwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<(String, Value)>: Freeze,
PhantomData<String>: Freeze,
*const SkillNetworkPolicy is !null: Freeze,
PhantomData<SkillNetworkPolicy>: Freeze,
*const SkillPermissionProfile is !null: Freeze,
PhantomData<SkillPermissionProfile>: Freeze,
PhantomData<(String, SkillResource)>: Freeze,
impl Move for SkillContext
impl RefUnwindSafe for SkillContext
impl Send for SkillContext
impl Sync for SkillContext
impl Unpin for SkillContext
impl UnsafeUnpin for SkillContextwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const SkillNetworkPolicy is !null: UnsafeUnpin,
PhantomData<SkillNetworkPolicy>: UnsafeUnpin,
*const SkillPermissionProfile is !null: UnsafeUnpin,
PhantomData<SkillPermissionProfile>: UnsafeUnpin,
PhantomData<(String, SkillResource)>: UnsafeUnpin,
impl UnwindSafe for SkillContextwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<SkillNetworkPolicy>: UnwindSafe,
BoxRaw<SkillPermissionProfile>: 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