arch_pkg_text/value/
parse_array.rs

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