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, )
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.