Trait GenericArrayStringExt

Source
pub trait GenericArrayStringExt<N>
where N: Capacity<u8>, ArrayvecStorage<u8, N>: Array<Item = u8>, N::ArrayType: Copy,
{ // Required methods fn generic_from( string: &str, ) -> Result<GenericArrayString<N>, CapacityError<&str>>; fn generic_from_byte_string<A>( byte_string: &A, ) -> Result<GenericArrayString<N>, Utf8Error> where A: Into<GenericArray<u8, N>> + AsRef<[u8]>; }
Expand description

Extension trait for GenericArrayString.

See its impl on GenericArrayString for more info.

Required 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.

Implementors§