pub trait RenderRequest: Request {
// Required methods
fn template(&self) -> &str;
fn is_client_only(&self) -> bool;
}
Expand description
A trait that describes a request for server-side rendering.
Required Methods§
Sourcefn is_client_only(&self) -> bool
fn is_client_only(&self) -> bool
Returns true if this request should be rendered at the client side.
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.