pub fn current_canister_authz() -> CanisterAuthzInfo {
    let authz = AUTHZ_MAP.read().unwrap();
    let mut methods_authz = Vec::new();
    for method_authz in authz.values() {
        methods_authz.push(method_authz.clone());
    }
    CanisterAuthzInfo { methods_authz }
}
/// Returns the current canister authz information.
Returns the current canister authz information.
Returns the current canister authz information .
pub fn current_canister_authz() -> CanisterAuthzInfo {
    let authz = AUTHZ_MAP.read().unwrap();
    let mut methods_authz = Vec::new();
    for method_authz in authz.values() {
        methods_authz.push(method_authz.clone());
    }
    CanisterAuthzInfo { methods_authz }
}
pub fn current_canister_authz ( ) -> CanisterAuthzInfo { let authz = AUTHZ_MAP . read ( ) . unwrap ( ) ; let mut methods_authz = Vec :: new ( ) ; for method_authz in authz . values ( ) { methods_authz . push ( method_authz . clone ( ) ) ; } CanisterAuthzInfo { methods_authz } }
Returns the current canister authz information.
Returns the current canister authz information .