Trait IntoResponse

Source
pub trait IntoResponse<Raw>: Sized
where Self: Into<Raw>,
{ // Provided method fn into_response(self) -> Result<Response<Raw>, Status> { ... } }

Provided Methods§

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§

Source§

impl<T, Raw> IntoResponse<Raw> for T
where T: Into<Raw>,