pub trait MessageWithPermission {
// Required method
fn permission(&self) -> Permission;
}Expand description
A message that may require special permissions from the sender to be processed.
Required Methods§
Sourcefn permission(&self) -> Permission
fn permission(&self) -> Permission
Returns the permission that’s required in order to process this message.