Skip to main content

EmptyCallback

Trait EmptyCallback 

Source
pub trait EmptyCallback {
    // Required method
    fn call();
}
Expand description

Represents callback action for cases without input and output.

Required Methods§

Source

fn call()

Triggers the callback’s logic.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl EmptyCallback for ()

Implementors§