Skip to main content

SpoolableOutput

Trait SpoolableOutput 

Source
pub trait SpoolableOutput {
    // Required methods
    fn should_spool(&self, threshold_bytes: usize) -> bool;
    fn byte_size(&self) -> usize;
}
Expand description

Extension trait for integrating spooler with tool results

Required Methods§

Source

fn should_spool(&self, threshold_bytes: usize) -> bool

Check if this output should be spooled

Source

fn byte_size(&self) -> usize

Get the byte size of this output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SpoolableOutput for Value

Source§

fn should_spool(&self, threshold_bytes: usize) -> bool

Source§

fn byte_size(&self) -> usize

Implementors§