Skip to main content

OnInformationalCallback

Trait OnInformationalCallback 

Source
pub(crate) trait OnInformationalCallback {
    // Required method
    fn on_informational(&self, res: Response<()>);
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<F> OnInformationalCallback for OnInformationalClosure<F>
where F: Fn(Response<'_>) + Send + Sync + 'static,