pub enum ConformError {
Show 24 variants
Io(Error),
Edl(String),
Aaf(String),
Xml(Error),
Database(String),
MissingSource(PathBuf),
NoMatch(String),
AmbiguousMatch {
clip: String,
count: usize,
},
InvalidTimecode(String),
TimecodeMismatch {
expected: String,
found: String,
},
InvalidFrameRate(String),
UnsupportedFormat(String),
InvalidConfig(String),
MissingField(String),
InvalidRange(String),
Export(String),
Validation(String),
ChecksumMismatch {
path: PathBuf,
expected: String,
found: String,
},
DurationMismatch {
path: PathBuf,
expected: f64,
found: f64,
},
InsufficientHandles {
clip: String,
needed: u64,
available: u64,
},
SessionNotFound(String),
TaskJoin(JoinError),
Serialization(Error),
Other(String),
}Expand description
Errors that can occur during media conforming operations.
Variants§
Io(Error)
I/O error.
Edl(String)
EDL parsing error.
Aaf(String)
AAF parsing error.
Xml(Error)
XML parsing error.
Database(String)
Database error.
MissingSource(PathBuf)
Missing source file.
NoMatch(String)
No matching source found for clip.
AmbiguousMatch
Ambiguous matches found.
InvalidTimecode(String)
Invalid timecode.
TimecodeMismatch
Timecode mismatch.
InvalidFrameRate(String)
Invalid frame rate.
UnsupportedFormat(String)
Unsupported format.
InvalidConfig(String)
Invalid configuration.
MissingField(String)
Missing field.
InvalidRange(String)
Invalid range.
Export(String)
Export error.
Validation(String)
Validation error.
ChecksumMismatch
Checksum mismatch.
Fields
DurationMismatch
Duration mismatch.
InsufficientHandles
Insufficient handles.
SessionNotFound(String)
Session not found.
TaskJoin(JoinError)
Async task error.
Serialization(Error)
Serialization error.
Other(String)
Other error.
Trait Implementations§
Source§impl Debug for ConformError
impl Debug for ConformError
Source§impl Display for ConformError
impl Display for ConformError
Source§impl Error for ConformError
impl Error for ConformError
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 From<&str> for ConformError
impl From<&str> for ConformError
Source§impl From<Error> for ConformError
impl From<Error> for ConformError
Source§impl From<Error> for ConformError
impl From<Error> for ConformError
Source§impl From<Error> for ConformError
impl From<Error> for ConformError
Source§impl From<JoinError> for ConformError
impl From<JoinError> for ConformError
Auto Trait Implementations§
impl !RefUnwindSafe for ConformError
impl !UnwindSafe for ConformError
impl Freeze for ConformError
impl Send for ConformError
impl Sync for ConformError
impl Unpin for ConformError
impl UnsafeUnpin for ConformError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more