Macro asn1_cereal::ber_sequence_of_serialize
[−]
[src]
macro_rules! ber_sequence_of_serialize { (impl: $rs_type:ty) => { ... }; ($rs_type:ty) => { ... }; ($rs_type:ty => $gen:ident) => { ... }; ($rs_type:ty => $gen:ident, $($where_attr:tt)*) => { ... }; }
Implement BerSerialize for a type, by iterating over each element, and calling serialize_enc on each element.
Requires that the type implement IntoIterator, and can be used to implement SEQUENCE/SET OF.