Skip to main content

HasClient

Trait HasClient 

Source
pub trait HasClient<'a, C> {
    // Required method
    fn set_client(&'a self, client: &'a C);
}

Required Methods§

Source

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".

Implementors§