mpeg2ts 0.3.1

MPEG2-TS decoding/encoding library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use trackable::error::{ErrorKind as TrackableErrorKind, TrackableError};

/// This crate specific `Error` type.
#[derive(Debug, Clone, trackable::TrackableError)]
pub struct Error(TrackableError<ErrorKind>);

/// Possible error kinds.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[allow(missing_docs)]
pub enum ErrorKind {
    InvalidInput,
    Unsupported,
    Other,
}
impl TrackableErrorKind for ErrorKind {}