Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§