pub struct CompleteEitSchedule { /* private fields */ }Expand description
Completed EIT schedule spanning all schedule table IDs through
last_table_id.
Implementations§
Source§impl CompleteEitSchedule
impl CompleteEitSchedule
Sourcepub const fn first_table_id(&self) -> u8
pub const fn first_table_id(&self) -> u8
First schedule table_id in this range.
Sourcepub const fn last_table_id(&self) -> u8
pub const fn last_table_id(&self) -> u8
Last schedule table_id in this range.
Sourcepub fn table_sets(&self) -> &[CompleteSectionSet]
pub fn table_sets(&self) -> &[CompleteSectionSet]
Completed section sets, one per schedule table_id in order.
Sourcepub fn table_versions(&self) -> impl ExactSizeIterator<Item = (u8, u8)> + '_
pub fn table_versions(&self) -> impl ExactSizeIterator<Item = (u8, u8)> + '_
Per-table_id 5-bit version numbers in schedule table_id order.
DVB EIT schedule sub-tables version independently, so there is no single schedule-wide version number.
Sourcepub fn tables(&self) -> Result<Vec<CompleteEit<'_>>>
pub fn tables(&self) -> Result<Vec<CompleteEit<'_>>>
Parse each completed schedule table-id set.
Sourcepub fn tables_with_registry<'a>(
&'a self,
registry: Option<&'a DescriptorRegistry>,
) -> Result<Vec<CompleteEit<'a>>>
pub fn tables_with_registry<'a>( &'a self, registry: Option<&'a DescriptorRegistry>, ) -> Result<Vec<CompleteEit<'a>>>
Parse each completed schedule table-id set with an optional descriptor registry.
Trait Implementations§
Source§impl Clone for CompleteEitSchedule
impl Clone for CompleteEitSchedule
Source§fn clone(&self) -> CompleteEitSchedule
fn clone(&self) -> CompleteEitSchedule
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 moreAuto Trait Implementations§
impl Freeze for CompleteEitSchedule
impl RefUnwindSafe for CompleteEitSchedule
impl Send for CompleteEitSchedule
impl Sync for CompleteEitSchedule
impl Unpin for CompleteEitSchedule
impl UnsafeUnpin for CompleteEitSchedule
impl UnwindSafe for CompleteEitSchedule
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