#[non_exhaustive]pub enum SpliceCommand {
SpliceNull {},
SpliceInsert {
splice_event_id: u32,
reserved: u8,
splice_detail: SpliceInsert,
},
TimeSignal {
splice_time: SpliceTime,
},
BandwidthReservation {},
PrivateCommand {
identifier: u32,
private_bytes: Vec<u8>,
},
}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.
SpliceNull
SpliceInsert
TimeSignal
Fields
§
splice_time: SpliceTimeBandwidthReservation
PrivateCommand
Trait Implementations§
Source§impl Debug for SpliceCommand
impl Debug for SpliceCommand
Auto Trait Implementations§
impl Freeze for SpliceCommand
impl RefUnwindSafe for SpliceCommand
impl Send for SpliceCommand
impl Sync for SpliceCommand
impl Unpin for SpliceCommand
impl UnwindSafe for SpliceCommand
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