arch_pkg_text/value/
parse_array.rs

1/// Types that implement this trait can parse its content into an array.
2pub trait ParseArray {
3    /// Type of array when parsing succeeds.
4    type Array;
5    /// Type of error when parsing fails.
6    type Error;
7    /// Parse an array.
8    fn parse_array(&self) -> Result<Self::Array, Self::Error>;
9}