pub struct ReadQueryPlan<'a, C: QueryContext, Row = <C as QueryContext>::Model> { /* private fields */ }Implementations§
Source§impl<'a, C, Row> ReadQueryPlan<'a, C, Row>
impl<'a, C, Row> ReadQueryPlan<'a, C, Row>
Trait Implementations§
Source§impl<'a, C, Row> ExecutablePlan<C> for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row> ExecutablePlan<C> for ReadQueryPlan<'a, C, Row>
Source§impl<'a, C, Row> FetchablePlan<C, Row> for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row> FetchablePlan<C, Row> for ReadQueryPlan<'a, C, Row>
fn fetch_one<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<Row, Error>> + Send + 'async_trait>>
fn fetch_all<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<Vec<Row>, Error>> + Send + 'async_trait>>
fn fetch_optional<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<Option<Row>, Error>> + Send + 'async_trait>>
impl<'a, C, Row> Planable<C, Row> for ReadQueryPlan<'a, C, Row>
Auto Trait Implementations§
impl<'a, C, Row> Freeze for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row = <C as QueryContext>::Model> !RefUnwindSafe for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row> Send for ReadQueryPlan<'a, C, Row>where
Row: Send,
impl<'a, C, Row> Sync for ReadQueryPlan<'a, C, Row>where
Row: Sync,
impl<'a, C, Row> Unpin for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row> UnsafeUnpin for ReadQueryPlan<'a, C, Row>
impl<'a, C, Row = <C as QueryContext>::Model> !UnwindSafe for ReadQueryPlan<'a, C, Row>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> GetDeleteMarker for T
impl<T> GetDeleteMarker for T
default fn delete_marker_field() -> Option<&'static str>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more