check_scope

Function check_scope 

Source
pub fn check_scope(
    rec: &Option<Arc<KeyRecord>>,
    proto_id: u32,
    needed: Scope,
) -> Result<(), Status>
Expand description

检查 KeyRecord 是否持有 needed scope