pub fn check_command_access(
definition: &DriverCommandDefinition,
granted: CommandAccessLevel,
) -> Result<(), String>Expand description
Reject commands that need a higher access level than the caller was granted.
pub fn check_command_access(
definition: &DriverCommandDefinition,
granted: CommandAccessLevel,
) -> Result<(), String>Reject commands that need a higher access level than the caller was granted.