xitca_postgres::dev

Trait IntoResponse

source
pub trait IntoResponse: Sealed + Sized {
    type Response;

    // Required method
    fn into_response(self, res: Response) -> Self::Response;
}
Expand description

trait for generic over how to construct an async stream rows

Required Associated Types§

Required Methods§

source

fn into_response(self, res: Response) -> Self::Response

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IntoResponse for Vec<Column>

source§

type Response = GenericRowStream<Vec<Column>, NoTyped>

source§

fn into_response(self, res: Response) -> Self::Response

source§

impl<'c> IntoResponse for &'c [Column]

source§

type Response = GenericRowStream<&'c [Column], Typed>

source§

fn into_response(self, res: Response) -> Self::Response

source§

impl<'c> IntoResponse for Vec<&'c [Column]>

Implementors§