pub trait GenericArrayStringExt<N> where
    N: Capacity<u8>,
    ArrayvecStorage<u8, N>: Array<Item = u8>,
    N::ArrayType: Copy
{ 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

Implementors