pub trait Document:
AsRef<str>
+ Send
+ Sync {
// Required methods
fn new(document: impl Into<Arc<str>>) -> Result<Self, Error>
where Self: Sized;
fn validate(document: impl Into<Arc<str>>) -> bool
where Self: Sized;
fn document_name(&self) -> &'static str;
}