pub trait WebsiteDataManagerExtManual: 'static {
// Required methods
fn clear<P: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
types: WebsiteDataTypes,
timespan: TimeSpan,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
);
fn remove<P: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
types: WebsiteDataTypes,
website_data: &[&WebsiteData],
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
);
}
Available on crate feature
v2_16
only.Required Methods§
fn clear<P: FnOnce(Result<(), Error>) + Send + 'static>( &self, types: WebsiteDataTypes, timespan: TimeSpan, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn remove<P: FnOnce(Result<(), Error>) + Send + 'static>( &self, types: WebsiteDataTypes, website_data: &[&WebsiteData], cancellable: Option<&impl IsA<Cancellable>>, callback: P )
Object Safety§
This trait is not object safe.