pub enum StreamState {
Idle,
Publishing,
Transcoding,
Recording,
Ended,
}Expand description
Current lifecycle state of a stream.
Variants§
Idle
No publisher yet.
Publishing
A publisher is connected and sending data.
Transcoding
The stream is being transcoded into one or more renditions.
Recording
The stream is being recorded.
Ended
The publisher has disconnected; the stream has ended.
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 (const: unstable) · 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 Display for StreamState
impl Display for StreamState
impl Eq for StreamState
Source§impl PartialEq for StreamState
impl PartialEq for StreamState
Source§fn eq(&self, other: &StreamState) -> bool
fn eq(&self, other: &StreamState) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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