Skip to main content

RequestEvent

Trait RequestEvent 

Source
pub trait RequestEvent {
    type Req: ReactRequest;
}
Expand description

Lets ReactAppExt::add_react_request_handler recover the request type T from an On<Request<T>> observer, whose event type is Request<T>.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§