ParseArray

Trait ParseArray 

Source
pub trait ParseArray {
    type Array;
    type Error;

    // Required method
    fn parse_array(&self) -> Result<Self::Array, Self::Error>;
}
Expand description

Types that implement this trait can parse its content into an array.

Required Associated Types§

Source

type Array

Type of array when parsing succeeds.

Source

type Error

Type of error when parsing fails.

Required Methods§

Source

fn parse_array(&self) -> Result<Self::Array, Self::Error>

Parse an array.

Implementors§