pub enum StreamingState {
Idle,
Buffering,
Streaming,
Stalled,
Error,
Completed,
}Expand description
Streaming state machine states
Variants§
Idle
Initial state
Buffering
Loading/buffering
Streaming
Actively streaming
Stalled
Stalled (buffer underrun)
Error
Error state
Completed
Completed
Trait Implementations§
Source§impl Clone for StreamingState
impl Clone for StreamingState
Source§fn clone(&self) -> StreamingState
fn clone(&self) -> StreamingState
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 StreamingState
impl Debug for StreamingState
Source§impl Default for StreamingState
impl Default for StreamingState
Source§impl Display for StreamingState
impl Display for StreamingState
Source§impl Hash for StreamingState
impl Hash for StreamingState
Source§impl PartialEq for StreamingState
impl PartialEq for StreamingState
impl Copy for StreamingState
impl Eq for StreamingState
impl StructuralPartialEq for StreamingState
Auto Trait Implementations§
impl Freeze for StreamingState
impl RefUnwindSafe for StreamingState
impl Send for StreamingState
impl Sync for StreamingState
impl Unpin for StreamingState
impl UnsafeUnpin for StreamingState
impl UnwindSafe for StreamingState
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§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.