Skip to main content

admit_token

Function admit_token 

Source
pub fn admit_token(
    token: &PrivateToken,
    expected: &PrivateToken,
) -> Result<(), QdnfError>
Expand description

Constant-time compare. Mismatch is Unauthorized; the snapshot is not read.