blob: 9d666c4ac86a6a5e4281e93c67fe61c628659f05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
use std::{collections::HashMap, error::Error};
use crate::value::Value;
pub trait Format {
fn parse(
&self,
uri: Option<&String>,
text: &str,
) -> Result<HashMap<String, Value>, Box<dyn Error + Send + Sync>>;
}
|