serialize

Function serialize 

Source
pub fn serialize<A, S, T, const N: usize>(
    data: &A,
    ser: S,
) -> Result<S::Ok, S::Error>
where A: Serializable<T, N>, S: Serializer, T: Serialize,
Expand description

Serialize const generic or arbitrarily-large arrays

Types must implement the Serializable trait; while this requirement sharply limits how composable the final result is, the simple ergonomics make up for it.

For greater flexibility see serde_with.