#[non_exhaustive]pub enum RecordingTimecode {
Preserve,
GenerateFrom(SessionTimecode),
}Expand description
Timecode policy applied when a recording session starts.
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.
Preserve
Preserve the source’s original editorial timecode.
GenerateFrom(SessionTimecode)
Generate the session’s timecode, starting at this value and advancing
with the content, in place of the source’s own. Use it when the source
provides no meaningful timecode. Construct the explicit start with
SessionTimecode::new; the send-only synthesize sentinel is refused.
Trait Implementations§
Source§impl Clone for RecordingTimecode
impl Clone for RecordingTimecode
impl Copy for RecordingTimecode
Source§impl Debug for RecordingTimecode
impl Debug for RecordingTimecode
Source§impl Default for RecordingTimecode
impl Default for RecordingTimecode
impl Eq for RecordingTimecode
Source§impl Hash for RecordingTimecode
impl Hash for RecordingTimecode
Source§impl PartialEq for RecordingTimecode
impl PartialEq for RecordingTimecode
impl StructuralPartialEq for RecordingTimecode
Auto Trait Implementations§
impl Freeze for RecordingTimecode
impl RefUnwindSafe for RecordingTimecode
impl Send for RecordingTimecode
impl Sync for RecordingTimecode
impl Unpin for RecordingTimecode
impl UnsafeUnpin for RecordingTimecode
impl UnwindSafe for RecordingTimecode
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