pub enum InputFileErrorKind {
VideoFile(PathBuf),
SubtitleFile(PathBuf),
}Variants§
Implementations§
Source§impl InputFileErrorKind
impl InputFileErrorKind
pub fn into_error(self) -> InputFileError
Trait Implementations§
Source§impl Clone for InputFileErrorKind
impl Clone for InputFileErrorKind
Source§fn clone(&self) -> InputFileErrorKind
fn clone(&self) -> InputFileErrorKind
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 InputFileErrorKind
impl Debug for InputFileErrorKind
Source§impl Display for InputFileErrorKind
impl Display for InputFileErrorKind
Source§impl Fail for InputFileErrorKind
impl Fail for InputFileErrorKind
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<InputFileErrorKind> for InputFileError
impl From<InputFileErrorKind> for InputFileError
Source§fn from(kind: InputFileErrorKind) -> InputFileError
fn from(kind: InputFileErrorKind) -> InputFileError
Converts to this type from the input type.
Source§impl PartialEq for InputFileErrorKind
impl PartialEq for InputFileErrorKind
impl Eq for InputFileErrorKind
impl StructuralPartialEq for InputFileErrorKind
Auto Trait Implementations§
impl Freeze for InputFileErrorKind
impl RefUnwindSafe for InputFileErrorKind
impl Send for InputFileErrorKind
impl Sync for InputFileErrorKind
impl Unpin for InputFileErrorKind
impl UnwindSafe for InputFileErrorKind
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