Skip to main content

Subsumes

Trait Subsumes 

Source
pub trait Subsumes<P>: Permission
where P: Permission,
{ }
Expand description

Indicates that Self implies permission P.

When Super: Subsumes<Sub>, a Cap<Super> can satisfy Has<Sub>. For example, FsAll: Subsumes<FsRead> means Cap<FsAll> works anywhere Has<FsRead> is required.

Implementors§