Expand description
The zero-sized capability token Cap<P> and its thread-safe variant SendCap<P>.
Cap<P> is the core proof type in capsec. Holding a Cap<FsRead> proves you
have permission to read files. It is:
- Zero-sized โ no runtime cost, erased at compilation
- Unconstructible externally โ
Cap::new()ispub(crate), so onlyCapRoot::grantcan create them !Send + !Syncโ scoped to the creating thread by default
Use make_send to explicitly opt into cross-thread transfer
when needed (e.g., for tokio::spawn).