pub trait ToSlackPlaintext: Sized + Into<Plain> {
// Provided method
fn plaintext(self) -> Plain { ... }
}Expand description
Convenience trait to provide a little more meaning than
a call to "foo".into(), and shorter than text::Plain::from("foo")
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.