ts-analyzer 0.3.0

A simple library for analyzing packets in MPEG/Transport Stream files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Error that is when trying to read the start of a new payload when no new
//! payload is present in a packet.
use std::fmt;

impl std::error::Error for PayloadIsNotStart {}

impl fmt::Display for PayloadIsNotStart {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "payload does not contain the start of a new partial payload")
    }
}