·rust-lifetime-complex
</>

rust-lifetime-complex

huiali/rust-skills

高级生命周期专家。处理 HRTB, GAT, 'static 约束, dyn trait object, 泛型边界冲突等问题。触发词:lifetime, HRTB, GAT, 'static, dyn, trait object, one type is more general, 生命周期, 类型约束

3Installs·0Trend·@huiali

Installation

$npx skills add https://github.com/huiali/rust-skills --skill rust-lifetime-complex

SKILL.md

| HRTB → dyn | 具体 vs 通用 | 泛型函数替代 dyn | | GAT → dyn | 大小不固定 | 分层设计 | | 'static + 借用 | 生命周期矛盾 | owned 数据 | | async + 生命周期 | 协程持有状态 | drop 借用或 owned | | closure 捕获 + Send | 生命周期问题 | 克隆或 'static |

| "one type is more general" | 试图把具体转通用 | | "lifetime may not live long enough" | 借用超出范围 | | "cannot be made into an object" | GAT + dyn 不兼容 | | "does not live long enough" | 借用被提前释放 |

高级生命周期专家。处理 HRTB, GAT, 'static 约束, dyn trait object, 泛型边界冲突等问题。触发词:lifetime, HRTB, GAT, 'static, dyn, trait object, one type is more general, 生命周期, 类型约束 Source: huiali/rust-skills.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-lifetime-complex Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/huiali/rust-skills --skill rust-lifetime-complex
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is rust-lifetime-complex?

高级生命周期专家。处理 HRTB, GAT, 'static 约束, dyn trait object, 泛型边界冲突等问题。触发词:lifetime, HRTB, GAT, 'static, dyn, trait object, one type is more general, 生命周期, 类型约束 Source: huiali/rust-skills.

How do I install rust-lifetime-complex?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/huiali/rust-skills --skill rust-lifetime-complex Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/huiali/rust-skills