pub struct AwaitResult<O, M> { /* private fields */ }Expand description
Await a cancellable signal that should be emitted by the specified observable.
Trait Implementations§
Source§impl<O: Clone, M: Clone> Clone for AwaitResult<O, M>
impl<O: Clone, M: Clone> Clone for AwaitResult<O, M>
Source§fn clone(&self) -> AwaitResult<O, M>
fn clone(&self) -> AwaitResult<O, M>
Returns a duplicate 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<O, M> Process for AwaitResult<O, M>where
O: Observable<Message = Result<M>>,
M: Clone + 'static,
impl<O, M> Process for AwaitResult<O, M>where
O: Observable<Message = Result<M>>,
M: Clone + 'static,
Source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
Source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
Source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Zip the current computation with another one within the resulting computation.
Source§fn finally<U>(self, finalization: U) -> Finally<Self, U>
fn finally<U>(self, finalization: U) -> Finally<Self, U>
Finalize the current computation regardless of canceling it or not.
Source§fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
Run the
Process computation using the specified process identifier.Source§fn into_boxed(self) -> ProcessBox<Self::Item>
fn into_boxed(self) -> ProcessBox<Self::Item>
Convert into a boxed value.
Auto Trait Implementations§
impl<O, M> Freeze for AwaitResult<O, M>where
O: Freeze,
impl<O, M> RefUnwindSafe for AwaitResult<O, M>where
O: RefUnwindSafe,
M: RefUnwindSafe,
impl<O, M> Send for AwaitResult<O, M>
impl<O, M> Sync for AwaitResult<O, M>
impl<O, M> Unpin for AwaitResult<O, M>
impl<O, M> UnwindSafe for AwaitResult<O, M>where
O: UnwindSafe,
M: 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