Expand description
Safe typed TSDuck application bindings for the RustDuck core.
This crate owns the 1.0 safe implementation over a narrow native boundary.
rustduck re-exports this API as the
user-facing facade and adds only opt-in extension modules.
Structs§
- Abort
Token - A cloneable, thread-safe request-only processor stop token.
- Async
Report Config - Configuration for an asynchronous TSDuck report.
- Duck
Context - A TSDuck execution context borrowing a
Report. - Input
Switcher - A
!Send + !Syncnative input-switcher owner. - Input
Switcher Config - Typed configuration for one
InputSwitcherstart. - Memory
Input - Thread-safe bounded input endpoint for a TSDuck
memoryplugin. - Memory
Output - Thread-safe bounded output endpoint for a TSDuck
memoryplugin. - Plugin
Chain - An ordered processor-plugin chain.
- Plugin
Options - One TSDuck plugin name and its command-line arguments.
- Processor
Config - Typed configuration for one
TSProcessorstart. - Report
- A TSDuck report owner.
- Report
Forwarder - Thread-safe native-report callback forwarding.
- Section
File - In-memory TSDuck section-file container.
- Standards
- Standards mask used by a
DuckContext. - System
Monitor - A
!Send + !Syncnative system-monitor owner. - System
Monitor Config - Optional system-monitor configuration.
- TSAnalyzer
- A
!Send + !Syncowner of TSDuck’s version-matchedTSAnalyzeradapter. - TSAnalyzer
CaDescriptor - A conditional-access descriptor observed in a service PMT.
- TSAnalyzer
Pid - Statistics for one transport-stream PID.
- TSAnalyzer
Report - A complete Rust-owned analyzer snapshot.
- TSAnalyzer
Service - Statistics for one service.
- TSAnalyzer
Summary - Aggregate transport-stream statistics from one analyzer snapshot.
- TSProcessor
- A
!Send + !SyncTSDuck processor owner.
Enums§
- BitRate
Confidence - Confidence in a caller-supplied transport-stream bitrate hint.
- Callback
Error - A structured failure observed in the private TSDuck
memorycallback path. - CrcValidation
- CRC handling mode used when loading binary sections.
- Error
- Errors reported by the safe Rust facade.
- Host
State - The lifecycle state of a native host.
- Memory
Push Outcome - Outcome of an accepted or dropped input push.
- Memory
Queue Policy - Queue behavior when there is no capacity for another complete payload.
- Native
Exception Kind - The native exception category captured at the
rustduck-sysboundary. - Processor
Input - Input selected for a processor.
- Processor
Output - Output selected for a processor.
- Report
Forwarder Error - An error contained while forwarding a native report callback.
- Severity
- TSDuck report severity.
- Switcher
Input - One typed switcher input.
- Switcher
Output - Typed switcher output.
- Wait
Status - Result of an owner-thread non-blocking termination check.
Constants§
- M2TS_
PACKET_ SIZE - Size of an M2TS record containing a four-byte prefix and a TS packet.
- RS204_
PACKET_ SIZE - Size of a transport-stream packet with a 16-byte Reed-Solomon trailer.
- TS_
PACKET_ SIZE - Size of one MPEG-TS packet in bytes.
Type Aliases§
- Result
- Result type returned by this crate’s fallible operations.