pub struct OutlineReadOptions {
pub max_items: usize,
pub max_depth: usize,
pub max_named_destinations: usize,
pub max_name_tree_nodes: usize,
}Expand description
Resource limits for parsing untrusted outline and destination trees.
Fields§
§max_items: usizeMaximum outline items visited.
max_depth: usizeMaximum outline and name-tree nesting depth.
max_named_destinations: usizeMaximum named destinations collected.
max_name_tree_nodes: usizeMaximum name-tree nodes visited, including empty intermediate nodes.
Trait Implementations§
Source§impl Clone for OutlineReadOptions
impl Clone for OutlineReadOptions
Source§fn clone(&self) -> OutlineReadOptions
fn clone(&self) -> OutlineReadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutlineReadOptions
impl Debug for OutlineReadOptions
Source§impl Default for OutlineReadOptions
impl Default for OutlineReadOptions
impl Eq for OutlineReadOptions
Source§impl PartialEq for OutlineReadOptions
impl PartialEq for OutlineReadOptions
impl StructuralPartialEq for OutlineReadOptions
Auto Trait Implementations§
impl Freeze for OutlineReadOptions
impl RefUnwindSafe for OutlineReadOptions
impl Send for OutlineReadOptions
impl Sync for OutlineReadOptions
impl Unpin for OutlineReadOptions
impl UnsafeUnpin for OutlineReadOptions
impl UnwindSafe for OutlineReadOptions
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