pub enum TimecodeError {
InvalidHours,
InvalidMinutes,
InvalidSeconds,
InvalidFrames,
InvalidDropFrame,
SyncNotFound,
CrcError,
BufferTooSmall,
InvalidConfiguration,
IoError(String),
NotSynchronized,
}Expand description
Timecode errors
Variants§
InvalidHours
Invalid hours value
InvalidMinutes
Invalid minutes value
InvalidSeconds
Invalid seconds value
InvalidFrames
Invalid frames value
InvalidDropFrame
Invalid drop frame timecode
SyncNotFound
Sync word not found
CrcError
CRC error
BufferTooSmall
Buffer too small
InvalidConfiguration
Invalid configuration
IoError(String)
IO error
NotSynchronized
Not synchronized
Trait Implementations§
Source§impl Clone for TimecodeError
impl Clone for TimecodeError
Source§fn clone(&self) -> TimecodeError
fn clone(&self) -> TimecodeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimecodeError
impl Debug for TimecodeError
Source§impl Display for TimecodeError
impl Display for TimecodeError
Source§impl Error for TimecodeError
impl Error for TimecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for TimecodeError
impl PartialEq for TimecodeError
impl Eq for TimecodeError
impl StructuralPartialEq for TimecodeError
Auto Trait Implementations§
impl Freeze for TimecodeError
impl RefUnwindSafe for TimecodeError
impl Send for TimecodeError
impl Sync for TimecodeError
impl Unpin for TimecodeError
impl UnsafeUnpin for TimecodeError
impl UnwindSafe for TimecodeError
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