#[non_exhaustive]pub struct WalkCounts {
pub nodes: usize,
pub bytes: usize,
pub list_iterations: usize,
}Expand description
What a walk wrote, or what it had reached when it stopped.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nodes: usizeElements and text nodes written from the module’s opcodes. Hydration
markers, comments and the __forma_islands data block are not nodes.
bytes: usizeBytes of HTML written: what WalkLimits::max_output_bytes bounds.
list_iterations: usizeLIST rows walked, across every nesting depth: what
WalkLimits::max_list_iterations bounds.
Trait Implementations§
Source§impl Clone for WalkCounts
impl Clone for WalkCounts
impl Copy for WalkCounts
Source§impl Debug for WalkCounts
impl Debug for WalkCounts
Source§impl Default for WalkCounts
impl Default for WalkCounts
impl Eq for WalkCounts
Source§impl PartialEq for WalkCounts
impl PartialEq for WalkCounts
impl StructuralPartialEq for WalkCounts
Auto Trait Implementations§
impl Freeze for WalkCounts
impl RefUnwindSafe for WalkCounts
impl Send for WalkCounts
impl Sync for WalkCounts
impl Unpin for WalkCounts
impl UnsafeUnpin for WalkCounts
impl UnwindSafe for WalkCounts
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