pub struct Create<'r, C: Connection, R> { /* private fields */ }
Expand description
A record create future
Implementations§
Trait Implementations§
Source§impl<'r, Client, R> IntoFuture for Create<'r, Client, Option<R>>where
Client: Connection,
R: DeserializeOwned,
impl<'r, Client, R> IntoFuture for Create<'r, Client, Option<R>>where
Client: Connection,
R: DeserializeOwned,
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Option<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Option<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'r, Client> IntoFuture for Create<'r, Client, Value>where
Client: Connection,
impl<'r, Client> IntoFuture for Create<'r, Client, Value>where
Client: Connection,
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Value> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Value> as IntoFuture>::Output> + Send + Sync + 'r>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'r, Client, R> IntoFuture for Create<'r, Client, Vec<R>>where
Client: Connection,
R: DeserializeOwned,
impl<'r, Client, R> IntoFuture for Create<'r, Client, Vec<R>>where
Client: Connection,
R: DeserializeOwned,
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Vec<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Create<'r, Client, Vec<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'r, C, R> Freeze for Create<'r, C, R>
impl<'r, C, R> !RefUnwindSafe for Create<'r, C, R>
impl<'r, C, R> Send for Create<'r, C, R>where
R: Send,
impl<'r, C, R> Sync for Create<'r, C, R>where
R: Sync,
impl<'r, C, R> Unpin for Create<'r, C, R>where
R: Unpin,
impl<'r, C, R> !UnwindSafe for Create<'r, C, R>
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> 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