Trait mailpot::StripCarets
source · pub trait StripCarets {
// Required method
fn strip_carets(&self) -> &str;
}
Expand description
Trait for stripping carets (‘<’,‘>’) from Message IDs.
Required Methods§
sourcefn strip_carets(&self) -> &str
fn strip_carets(&self) -> &str
If self
is surrounded by carets, strip them.