INNER CODE UNIT · Rust

deny

build-trust/ockam · implementations/rust/ockam/ockam_core/src/lib.rs:128

pub fn deny() -> Result<bool> {
    Ok(false)
}

/// Produces Ok(true) to avoid an ambiguous reading from using the unadorned value in auth code.
#[inline(always)]
pub fn allow() -> Result<bool> {
    Ok(true)
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…