Enum vtc::TimecodeParseError [−][src]
pub enum TimecodeParseError { Conversion(String), UnknownStrFormat(String), DropFrameValue(String), }
Expand description
Returned from Timecode::with_frames, Timecode::with_seconds, and Timecode::with_premiere_ticks when there is an error parsing a Timecode.
Variants
Conversion(String)
Returned when there is an error doing an internal type conversion to create a new Timecode, such as a u64 value overflowing a num::Rational64.
UnknownStrFormat(String)
Returned when a string does not match any known Timecode format.
DropFrameValue(String)
Returned when a drop-frame tc-string has a frames value that should have been dropped. ex: ‘00:01:00:01’.
Trait Implementations
impl Clone for TimecodeParseError
[src]
impl Clone for TimecodeParseError
[src]fn clone(&self) -> TimecodeParseError
[src]
fn clone(&self) -> TimecodeParseError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TimecodeParseError
[src]
impl Debug for TimecodeParseError
[src]impl PartialEq<TimecodeParseError> for TimecodeParseError
[src]
impl PartialEq<TimecodeParseError> for TimecodeParseError
[src]fn eq(&self, other: &TimecodeParseError) -> bool
[src]
fn eq(&self, other: &TimecodeParseError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TimecodeParseError) -> bool
[src]
fn ne(&self, other: &TimecodeParseError) -> bool
[src]This method tests for !=
.
impl Eq for TimecodeParseError
[src]
impl StructuralEq for TimecodeParseError
[src]
impl StructuralPartialEq for TimecodeParseError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimecodeParseError
impl Send for TimecodeParseError
impl Sync for TimecodeParseError
impl Unpin for TimecodeParseError
impl UnwindSafe for TimecodeParseError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more