pub enum ProbeError {
Io(Error),
Header(HeaderError),
Codec(CodecError),
Extract(ExtractError),
MissingRequiredBox(&'static str),
MissingDescriptor(&'static str),
UnexpectedPayloadType {
box_type: FourCc,
},
NumericOverflow {
field_name: &'static str,
},
}Expand description
Errors raised while probing files or derived codec summaries.
Variants§
Io(Error)
Header(HeaderError)
Codec(CodecError)
Extract(ExtractError)
MissingRequiredBox(&'static str)
MissingDescriptor(&'static str)
UnexpectedPayloadType
NumericOverflow
Trait Implementations§
Source§impl Debug for ProbeError
impl Debug for ProbeError
Source§impl Display for ProbeError
impl Display for ProbeError
Source§impl Error for ProbeError
impl Error for ProbeError
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<CodecError> for ProbeError
impl From<CodecError> for ProbeError
Source§fn from(value: CodecError) -> Self
fn from(value: CodecError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ProbeError
impl From<Error> for ProbeError
Source§impl From<ExtractError> for ProbeError
impl From<ExtractError> for ProbeError
Source§fn from(value: ExtractError) -> Self
fn from(value: ExtractError) -> Self
Converts to this type from the input type.
Source§impl From<HeaderError> for ProbeError
impl From<HeaderError> for ProbeError
Source§fn from(value: HeaderError) -> Self
fn from(value: HeaderError) -> Self
Converts to this type from the input type.
Source§impl From<ProbeError> for DivideError
impl From<ProbeError> for DivideError
Source§fn from(value: ProbeError) -> Self
fn from(value: ProbeError) -> Self
Converts to this type from the input type.
Source§impl From<ProbeError> for MuxError
Available on crate feature mux only.
impl From<ProbeError> for MuxError
Available on crate feature
mux only.Source§fn from(error: ProbeError) -> Self
fn from(error: ProbeError) -> Self
Converts to this type from the input type.
Source§impl From<ProbeError> for ProbeCliError
impl From<ProbeError> for ProbeCliError
Source§fn from(value: ProbeError) -> Self
fn from(value: ProbeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProbeError
impl !RefUnwindSafe for ProbeError
impl Send for ProbeError
impl Sync for ProbeError
impl Unpin for ProbeError
impl UnsafeUnpin for ProbeError
impl !UnwindSafe for ProbeError
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