pub trait StringExt {
// Required methods
fn to_exact_size<const N: usize>(self) -> Option<ExactSizeString<N>>;
fn to_max_size<const N: usize>(self) -> Option<MaxSizeString<N>>;
}Required Methods§
fn to_exact_size<const N: usize>(self) -> Option<ExactSizeString<N>>
fn to_max_size<const N: usize>(self) -> Option<MaxSizeString<N>>
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.