Skip to main content

SignalAsyncExt

Trait SignalAsyncExt 

Source
pub trait SignalAsyncExt<T: Clone + PartialEq + Send + 'static> {
    // Required method
    fn async_setter(&self) -> impl Fn(T) + Clone + 'static
       where Self: Clone;
}

Required Methods§

Source

fn async_setter(&self) -> impl Fn(T) + Clone + 'static
where Self: Clone,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: Clone + PartialEq + Send + 'static> SignalAsyncExt<T> for Signal<T>

Source§

fn async_setter(&self) -> impl Fn(T) + Clone + 'static
where Self: Clone,

Implementors§