pub fn proof_from_grant(
    grant: &GrantForInterfaceAuthorization
) -> ProofOfInterfaceAuthorization
Expand description

Convert fnet_interfaces_admin::GrantForInterfaceAuthorization to fnet_interfaces_admin::ProofOfInterfaceAuthorization with fewer permissions.

§Panics

Panics when the Event handle does not have the DUPLICATE right. Callers need not worry about this if providing a grant received from [GetAuthorizationForInterface].