rustduck-core 1.1.0

Safe typed TSDuck core bindings for rustduck
Documentation
//! Safe typed TSDuck application bindings for the RustDuck core.
//!
//! This crate owns the 1.0 safe implementation over a narrow native boundary.
//! [`rustduck`](https://docs.rs/rustduck) re-exports this API as the
//! user-facing facade and adds only opt-in extension modules.

mod analyzer;
mod buffer;
mod context;
mod error;
mod host;
mod input_switcher;
mod memory;
mod plugin;
mod processor;
mod report;
mod section_file;
mod system_monitor;
mod transport_stream;

pub use analyzer::{
    BitRateConfidence, TSAnalyzer, TSAnalyzerCaDescriptor, TSAnalyzerPid, TSAnalyzerReport,
    TSAnalyzerService, TSAnalyzerSummary,
};
pub use context::{DuckContext, Standards};
pub use error::{Error, NativeExceptionKind};
pub use host::HostState;
pub use input_switcher::{InputSwitcher, InputSwitcherConfig, SwitcherInput, SwitcherOutput};
pub use memory::{CallbackError, MemoryInput, MemoryOutput, MemoryPushOutcome, MemoryQueuePolicy};
pub use plugin::{PluginChain, PluginOptions};
pub use processor::{
    AbortToken, ProcessorConfig, ProcessorInput, ProcessorOutput, TSProcessor, WaitStatus,
};
pub use report::{AsyncReportConfig, Report, ReportForwarder, ReportForwarderError, Severity};
pub use section_file::{CrcValidation, SectionFile};
pub use system_monitor::{SystemMonitor, SystemMonitorConfig};
pub use transport_stream::{M2TS_PACKET_SIZE, RS204_PACKET_SIZE, TS_PACKET_SIZE};

/// Result type returned by this crate's fallible operations.
pub type Result<T> = std::result::Result<T, Error>;