pub trait Source {
// Required method
fn stream_name(&self) -> &str;
}Expand description
An ingest source that can be identified by name (e.g. for logging/metrics).
Kept minimal here; Task 5’s RtspSource extends the ingest surface with
the actual RTSP session driving.
Required Methods§
Sourcefn stream_name(&self) -> &str
fn stream_name(&self) -> &str
Human-readable stream name (e.g. the RTSP URL or config-file key).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".