pub enum RunningStatus {
Undefined,
NotRunning,
StartsSoon,
Pausing,
Running,
OffAir,
Reserved(u8),
}Expand description
Running status of a service (ETSI EN 300 468 §5.2.3 Table 6).
A 3-bit field; values 6 and 7 are reserved and surface as
RunningStatus::Reserved preserving the raw value.
Variants§
Undefined
0 — undefined.
NotRunning
1 — not running.
StartsSoon
2 — starts in a few seconds (e.g. for video recording).
Pausing
3 — pausing.
Running
4 — running.
OffAir
5 — service off-air.
Reserved(u8)
6–7 — reserved for future use; raw value preserved.
Implementations§
Trait Implementations§
Source§impl Clone for RunningStatus
impl Clone for RunningStatus
Source§fn clone(&self) -> RunningStatus
fn clone(&self) -> RunningStatus
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 moreimpl Copy for RunningStatus
Source§impl Debug for RunningStatus
impl Debug for RunningStatus
impl Eq for RunningStatus
Source§impl PartialEq for RunningStatus
impl PartialEq for RunningStatus
Source§fn eq(&self, other: &RunningStatus) -> bool
fn eq(&self, other: &RunningStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunningStatus
Auto Trait Implementations§
impl Freeze for RunningStatus
impl RefUnwindSafe for RunningStatus
impl Send for RunningStatus
impl Sync for RunningStatus
impl Unpin for RunningStatus
impl UnsafeUnpin for RunningStatus
impl UnwindSafe for RunningStatus
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