pub struct FutureResult<T, E> { /* private fields */ }
Expand description
Trait Implementations§
Source§impl<T: Clone, E: Clone> Clone for FutureResult<T, E>
impl<T: Clone, E: Clone> Clone for FutureResult<T, E>
Source§fn clone(&self) -> FutureResult<T, E>
fn clone(&self) -> FutureResult<T, E>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T, E> From<Result<T, E>> for FutureResult<T, E>
impl<T, E> From<Result<T, E>> for FutureResult<T, E>
Source§impl<T, E> Future for FutureResult<T, E>
impl<T, E> Future for FutureResult<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for FutureResult<T, E>
impl<T, E> RefUnwindSafe for FutureResult<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for FutureResult<T, E>
impl<T, E> Sync for FutureResult<T, E>
impl<T, E> Unpin for FutureResult<T, E>
impl<T, E> UnwindSafe for FutureResult<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§fn into_future(self) -> F
fn into_future(self) -> F
Consumes this object and produces a future.