pub trait Parseable: Sized {
type Input<N: HtmlElement>: ExtractedValue;
type Error: Error;
// Required method
fn parse<N: HtmlElement>(input: Self::Input<N>) -> Result<Self, Self::Error>;
}
Required Associated Types§
type Input<N: HtmlElement>: ExtractedValue
type Error: Error
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.