MessageAllowed

Trait MessageAllowed 

Source
pub trait MessageAllowed<M> { }
Expand description

Compile-time proof that permissions type P may send message M.

API wrapper methods express their permission needs with bounds like P: MessageAllowed<GetStatus>. If a call fails to compile because this bound is not satisfied, grant that message in the app’s manifest. Custom permission types only satisfy compile-time bounds; xous-names still enforces the manifest at runtime. Hand-written permissions are only valid for infrastructure paths that connect to their own server.

Implementors§