pub trait ProfileExt:
Send
+ Sync
+ Sized {
// Required methods
fn fits(url: &Url) -> bool;
fn extract(html: &Html) -> Option<LinkPreview>;
}Required Methods§
Sourcefn extract(html: &Html) -> Option<LinkPreview>
fn extract(html: &Html) -> Option<LinkPreview>
Creates a LinkPreview from the provided HTML.
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.