Enum crossbus::stream::StreamingState
source · pub enum StreamingState {
Abort,
Continue,
Pause,
Resume,
}Expand description
Indicator to direct the Streaming at runtime,
Continue: just continue the execution, no intercept happensAbort: intercept the signal and stop blocking immediatelyPause: pause the stream and freeze immediatelyResume: restore the stream back toRunning
Variants§
Trait Implementations§
source§impl Clone for StreamingState
impl Clone for StreamingState
source§fn clone(&self) -> StreamingState
fn clone(&self) -> StreamingState
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 Debug for StreamingState
impl Debug for StreamingState
source§impl PartialEq<StreamingState> for StreamingState
impl PartialEq<StreamingState> for StreamingState
source§fn eq(&self, other: &StreamingState) -> bool
fn eq(&self, other: &StreamingState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.