pub trait InputDebug {
// Required methods
fn slice(&self, span: Span) -> &str;
fn as_cow(&self) -> Cow<'_, [u8]>;
}Expand description
Trait for handling input data in error reporting and debugging. Provides methods to convert input slices to human-readable strings and to create byte arrays for error storage.