1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

mod buffer_collection_constraints;
mod buffer_set;
mod elementary_stream;
mod input_packet_stream;
mod output_validator;
mod stream;
mod stream_runner;
mod test_spec;

pub use crate::buffer_collection_constraints::*;
pub use crate::buffer_set::*;
pub use crate::elementary_stream::*;
pub use crate::output_validator::*;
pub use crate::stream::*;
pub use crate::stream_runner::*;
pub use crate::test_spec::*;

use thiserror::Error;

pub type Result<T> = std::result::Result<T, anyhow::Error>;

#[derive(Error, Debug)]
#[error("FatalError: {}", _0)]
pub struct FatalError(pub String);