pub enum TopLevelErrorKind {
FileFormatMismatch {
input_file_path: PathBuf,
output_file_path: PathBuf,
input_file_format: SubtitleFormat,
},
FailedToUpdateSubtitle,
FailedToGenerateSubtitleData,
FailedToInstantiateSubtitleFile,
}Variants§
FileFormatMismatch
FailedToUpdateSubtitle
FailedToGenerateSubtitleData
FailedToInstantiateSubtitleFile
Implementations§
Source§impl TopLevelErrorKind
impl TopLevelErrorKind
pub fn into_error(self) -> TopLevelError
Trait Implementations§
Source§impl Display for TopLevelErrorKind
impl Display for TopLevelErrorKind
Source§impl From<TopLevelErrorKind> for TopLevelError
impl From<TopLevelErrorKind> for TopLevelError
Source§fn from(kind: TopLevelErrorKind) -> TopLevelError
fn from(kind: TopLevelErrorKind) -> TopLevelError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopLevelErrorKind
impl RefUnwindSafe for TopLevelErrorKind
impl Send for TopLevelErrorKind
impl Sync for TopLevelErrorKind
impl Unpin for TopLevelErrorKind
impl UnwindSafe for TopLevelErrorKind
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