pub trait HasClient<'a, C> {
// Required method
fn set_client(&'a self, client: &'a C);
}Required Methods§
Sourcefn set_client(&'a self, client: &'a C)
fn set_client(&'a self, client: &'a C)
Set the client for this flash peripheral. The client will be called when operations complete.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".