SaveDelegateExtManual

Trait SaveDelegateExtManual 

Source
pub trait SaveDelegateExtManual {
    // Required method
    fn connect_save<F, R>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self, &Task<bool>) -> R + 'static,
             R: Future<Output = Result<(), Error>> + 'static;
}

Required Methods§

Source

fn connect_save<F, R>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self, &Task<bool>) -> R + 'static, R: Future<Output = Result<(), Error>> + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§