pub struct Merge<'r, C: Connection, D, R> { /* private fields */ }
Expand description
A merge future
Implementations§
Source§impl<C, D, R> Merge<'_, C, D, R>where
C: Connection,
impl<C, D, R> Merge<'_, C, D, R>where
C: Connection,
Sourcepub fn into_owned(self) -> Merge<'static, C, D, R>
pub fn into_owned(self) -> Merge<'static, C, D, R>
Converts to an owned type which can easily be moved to a different thread
Trait Implementations§
Source§impl<'r, Client, D, R> IntoFuture for Merge<'r, Client, D, Option<R>>
impl<'r, Client, D, R> IntoFuture for Merge<'r, Client, D, Option<R>>
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, Option<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, 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, D> IntoFuture for Merge<'r, Client, D, Value>where
Client: Connection,
D: Serialize + 'static,
impl<'r, Client, D> IntoFuture for Merge<'r, Client, D, Value>where
Client: Connection,
D: Serialize + 'static,
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, Value> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, 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, D, R> IntoFuture for Merge<'r, Client, D, Vec<R>>
impl<'r, Client, D, R> IntoFuture for Merge<'r, Client, D, Vec<R>>
Source§type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, Vec<R>> as IntoFuture>::Output> + Send + Sync + 'r>>
type IntoFuture = Pin<Box<dyn Future<Output = <Merge<'r, Client, D, 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, D, R> Freeze for Merge<'r, C, D, R>where
D: Freeze,
impl<'r, C, D, R> !RefUnwindSafe for Merge<'r, C, D, R>
impl<'r, C, D, R> Send for Merge<'r, C, D, R>
impl<'r, C, D, R> Sync for Merge<'r, C, D, R>
impl<'r, C, D, R> Unpin for Merge<'r, C, D, R>
impl<'r, C, D, R> !UnwindSafe for Merge<'r, C, D, 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