pub trait SignalWaitable {
// Required methods
fn wait_until_set(&self) -> Result<()>;
fn wait(&self, timeout: Duration) -> Result<()>;
fn set(&mut self) -> Result<()>;
fn reset(&mut self) -> Result<()>;
}Required Methods§
fn wait_until_set(&self) -> Result<()>
fn wait(&self, timeout: Duration) -> Result<()>
fn set(&mut self) -> Result<()>
fn reset(&mut self) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".