#[non_exhaustive]pub enum ControlCode {
Reserved,
Autostart,
Present,
Destroy,
Kill,
Prefetch,
Remote,
Disabled,
PlaybackAutostart,
Unallocated(u8),
}Expand description
Application control code — ETSI TS 102 809 §5.2.4.1 Table 3.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reserved
0x00 — reserved for future use.
Autostart
0x01 — AUTOSTART: started on service selection unless already running.
Present
0x02 — PRESENT: allowed to run but not auto-started.
Destroy
0x03 — DESTROY: stopped gracefully, no restart.
Kill
0x04 — KILL: stopped immediately, no restart.
Prefetch
0x05 — PREFETCH: files cached, app not started.
Remote
0x06 — REMOTE: application not hosted by the current service.
Disabled
0x07 — DISABLED: application shall not be available to the user.
PlaybackAutostart
0x08 — PLAYBACK_AUTOSTART: autostart for playback services.
Unallocated(u8)
Catch-all for reserved / unallocated wire values.
Implementations§
Trait Implementations§
Source§impl Clone for ControlCode
impl Clone for ControlCode
Source§fn clone(&self) -> ControlCode
fn clone(&self) -> ControlCode
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 ControlCode
Source§impl Debug for ControlCode
impl Debug for ControlCode
impl Eq for ControlCode
Source§impl PartialEq for ControlCode
impl PartialEq for ControlCode
Source§fn eq(&self, other: &ControlCode) -> bool
fn eq(&self, other: &ControlCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlCode
impl Serialize for ControlCode
impl StructuralPartialEq for ControlCode
Auto Trait Implementations§
impl Freeze for ControlCode
impl RefUnwindSafe for ControlCode
impl Send for ControlCode
impl Sync for ControlCode
impl Unpin for ControlCode
impl UnsafeUnpin for ControlCode
impl UnwindSafe for ControlCode
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