Enum google_api_proto::google::cloud::video::livestream::v1::channel::StreamingState
source · #[repr(i32)]pub enum StreamingState {
Unspecified = 0,
Streaming = 1,
AwaitingInput = 2,
StreamingError = 4,
StreamingNoInput = 5,
Stopped = 6,
Starting = 7,
Stopping = 8,
}
Expand description
State of streaming operation that the channel is running.
Variants§
Unspecified = 0
Streaming state is not specified.
Streaming = 1
Channel is getting the input stream, generating the live streams to the specified output location.
AwaitingInput = 2
Channel is waiting for the input stream through the input.
StreamingError = 4
Channel is running, but has trouble publishing the live streams onto the specified output location (for example, the specified Cloud Storage bucket is not writable).
StreamingNoInput = 5
Channel is generating live streams with no input stream. Live streams are filled out with black screen, while input stream is missing. Not supported yet.
Stopped = 6
Channel is stopped, finishing live streams.
Starting = 7
Channel is starting.
Stopping = 8
Channel is stopping.
Implementations§
source§impl StreamingState
impl StreamingState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for StreamingState
impl Clone for StreamingState
source§fn clone(&self) -> StreamingState
fn clone(&self) -> StreamingState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamingState
impl Debug for StreamingState
source§impl Default for StreamingState
impl Default for StreamingState
source§fn default() -> StreamingState
fn default() -> StreamingState
source§impl From<StreamingState> for i32
impl From<StreamingState> for i32
source§fn from(value: StreamingState) -> i32
fn from(value: StreamingState) -> i32
source§impl Hash for StreamingState
impl Hash for StreamingState
source§impl Ord for StreamingState
impl Ord for StreamingState
source§fn cmp(&self, other: &StreamingState) -> Ordering
fn cmp(&self, other: &StreamingState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for StreamingState
impl PartialEq for StreamingState
source§fn eq(&self, other: &StreamingState) -> bool
fn eq(&self, other: &StreamingState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StreamingState
impl PartialOrd for StreamingState
source§fn partial_cmp(&self, other: &StreamingState) -> Option<Ordering>
fn partial_cmp(&self, other: &StreamingState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for StreamingState
impl TryFrom<i32> for StreamingState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<StreamingState, UnknownEnumValue>
fn try_from(value: i32) -> Result<StreamingState, UnknownEnumValue>
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 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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request