pub enum StreamState {
Initial,
Active,
Finished,
Error,
}Expand description
Stream state for tracking progress.
Variants§
Initial
Stream not started.
Active
Stream in progress.
Finished
Stream finished successfully.
Error
Stream encountered error.
Implementations§
Source§impl StreamState
impl StreamState
Trait Implementations§
Source§impl Clone for StreamState
impl Clone for StreamState
Source§fn clone(&self) -> StreamState
fn clone(&self) -> StreamState
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 StreamState
impl Debug for StreamState
Source§impl Default for StreamState
impl Default for StreamState
Source§fn default() -> StreamState
fn default() -> StreamState
Returns the “default value” for a type. Read more
Source§impl PartialEq for StreamState
impl PartialEq for StreamState
impl Copy for StreamState
impl Eq for StreamState
impl StructuralPartialEq for StreamState
Auto Trait Implementations§
impl Freeze for StreamState
impl RefUnwindSafe for StreamState
impl Send for StreamState
impl Sync for StreamState
impl Unpin for StreamState
impl UnwindSafe for StreamState
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