[][src]Enum scte35_reader::SegmentationDescriptor

pub enum SegmentationDescriptor {
    Cancel,
    Insert {
        program_segmentation_flag: bool,
        segmentation_duration_flag: bool,
        delivery_not_restricted_flag: bool,
        delivery_restrictions: DeliveryRestrictionFlags,
        segmentation_mode: SegmentationMode,
        segmentation_duration: Option<u64>,
        segmentation_upid_type: SegmentationUpidType,
        segmentation_upid_length: u8,
        segmentation_upid: SegmentationUpid,
        segmentation_type_id: SegmentationTypeId,
        segment_num: u8,
        segments_expected: u8,
        sub_segment_num: u8,
        sub_segments_expected: u8,
    },
}

Variants

CancelInsert

Fields of Insert

program_segmentation_flag: boolsegmentation_duration_flag: booldelivery_not_restricted_flag: booldelivery_restrictions: DeliveryRestrictionFlagssegmentation_mode: SegmentationModesegmentation_duration: Option<u64>segmentation_upid_type: SegmentationUpidTypesegmentation_upid_length: u8segmentation_upid: SegmentationUpidsegmentation_type_id: SegmentationTypeIdsegment_num: u8segments_expected: u8sub_segment_num: u8sub_segments_expected: u8

Trait Implementations

impl Debug for SegmentationDescriptor[src]

impl Serialize for SegmentationDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]