Skip to main content

compile_tenant_binding_status

Function compile_tenant_binding_status 

Source
pub fn compile_tenant_binding_status(
    binding: &TenantBinding,
    service: Option<&dyn TenantGrantService>,
    epoch: u64,
    now: u64,
) -> TenantBindingStatus
Expand description

Project a service result into the status written by the generic operator.

An authored entitlement without a configured service is rejected. A service error is also rejected and never leaves partial content references.