pub enum PacketScannerError {
SeekError(DemuxingError),
ReadError(DemuxingError),
}Expand description
Errors that can occur during packet scanning operations.
Variants§
SeekError(DemuxingError)
Failed to seek to the requested timestamp.
ReadError(DemuxingError)
Failed to read the next packet from the demuxer.
Trait Implementations§
Source§impl Debug for PacketScannerError
impl Debug for PacketScannerError
Source§impl Display for PacketScannerError
impl Display for PacketScannerError
Source§impl Error for PacketScannerError
impl Error for PacketScannerError
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 From<PacketScannerError> for Error
impl From<PacketScannerError> for Error
Source§fn from(source: PacketScannerError) -> Self
fn from(source: PacketScannerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PacketScannerError
impl RefUnwindSafe for PacketScannerError
impl Send for PacketScannerError
impl Sync for PacketScannerError
impl Unpin for PacketScannerError
impl UnwindSafe for PacketScannerError
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