pub struct EnvironmentLimits {
pub max_nodes: usize,
pub max_entries: usize,
pub max_depth: usize,
pub max_tree_nodes: u64,
pub max_name_bytes: usize,
}Expand description
Limits enforced on a certificate BEFORE any term is built or checked.
Fields§
§max_nodes: usizeRows in the term table.
max_entries: usizeDeclarations.
max_depth: usizeDepth of any term. The kernel refuses deeper terms anyway; refusing here refuses before work.
max_tree_nodes: u64The unfolded (tree) size of all roots together.
max_name_bytes: usizeBytes in any one name.
Trait Implementations§
Source§impl Clone for EnvironmentLimits
impl Clone for EnvironmentLimits
Source§fn clone(&self) -> EnvironmentLimits
fn clone(&self) -> EnvironmentLimits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvironmentLimits
impl Debug for EnvironmentLimits
Source§impl Default for EnvironmentLimits
impl Default for EnvironmentLimits
Source§impl PartialEq for EnvironmentLimits
impl PartialEq for EnvironmentLimits
impl Copy for EnvironmentLimits
impl Eq for EnvironmentLimits
impl StructuralPartialEq for EnvironmentLimits
Auto Trait Implementations§
impl Freeze for EnvironmentLimits
impl RefUnwindSafe for EnvironmentLimits
impl Send for EnvironmentLimits
impl Sync for EnvironmentLimits
impl Unpin for EnvironmentLimits
impl UnsafeUnpin for EnvironmentLimits
impl UnwindSafe for EnvironmentLimits
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more