Skip to main content

StringState

Trait StringState 

Source
pub trait StringState { }

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl StringState for CleanedText

CleanedText state: dangerous characters have been removed - allows strip, defang, censor, and sluggify operations

Source§

impl StringState for RawInput

RawInput state: may data may contain dangerous characters - allows detect and chars operations to examine content