Skip to main content

PowerClient

Trait PowerClient 

Source
pub trait PowerClient {
    // Required method
    fn handle_power_event(&self, event: PowerEvent);
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§