embassy-embedded-hal

Crates

git

Versions

default

Flavors

Skip to main content

GetConfig

Trait GetConfig 

Source
pub trait GetConfig {
    type Config;

    // Required method
    fn get_config(&self) -> Self::Config;
}
Expand description

Get the configuration of a peripheral driver.

Required Associated Types§

Source

type Config

The configuration type used by this driver.

Required Methods§

Source

fn get_config(&self) -> Self::Config

Get the configuration of the driver.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§