pub trait FrameSource: Send {
// Required methods
fn info(&self) -> &StreamInfo;
fn read(&mut self) -> Option<Frame>;
fn seek(&mut self, pts: u64);
}Expand description
A recorded stream a server can play to subscribers.
Required Methods§
Sourcefn info(&self) -> &StreamInfo
fn info(&self) -> &StreamInfo
What the stream is.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".