Skip to main content

load_profile_archive

Function load_profile_archive 

pub fn load_profile_archive(
    bytes: &[u8],
    authorized: bool,
    current_day: u32,
    horizon: u32,
    limits: ProfileArchiveLimits,
) -> Result<Box<[CompiledProfileArchiveEntry]>, Box<dyn Error + Send + Sync>>
Available on crate features std and ua only.
Expand description

Load a complete versioned archive. No entry is returned after a validation failure, and serialized derived rules never grant capabilities on import.