pub enum StreamOutcomeState {
NotStarted,
Interrupted,
Finished,
}Expand description
How a FnGraph stream operation ended.
Variants§
NotStarted
The stream was not started, so no items were processed.
If a StreamOutcome ends with this state, it means the stream was never
polled.
If a stream is interrupted between the first poll, and that future’s
completion, the state will be StreamOutcomeState::Interrupted.
Interrupted
The stream was interrupted during processing.
Finished
The stream was not interrupted and finished, so all items were processed.
Trait Implementations§
Source§impl Clone for StreamOutcomeState
impl Clone for StreamOutcomeState
Source§fn clone(&self) -> StreamOutcomeState
fn clone(&self) -> StreamOutcomeState
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 Debug for StreamOutcomeState
impl Debug for StreamOutcomeState
Source§impl PartialEq for StreamOutcomeState
impl PartialEq for StreamOutcomeState
impl Copy for StreamOutcomeState
impl Eq for StreamOutcomeState
impl StructuralPartialEq for StreamOutcomeState
Auto Trait Implementations§
impl Freeze for StreamOutcomeState
impl RefUnwindSafe for StreamOutcomeState
impl Send for StreamOutcomeState
impl Sync for StreamOutcomeState
impl Unpin for StreamOutcomeState
impl UnwindSafe for StreamOutcomeState
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.