pub struct Stream {
pub id: String,
pub stream_type: StreamType,
pub caps: Caps,
}Expand description
One elementary stream of a container: a stable id, its media kind, and the
Caps it carries. The id is the cross-run-stable stream identifier (the
GStreamer stream-id analog), e.g. "matroska-track-1", so an application can
name a stream to select it. Per-stream tags / flags are a deliberate future
extension (added when a consumer needs them; the struct stays additive).
Fields§
§id: String§stream_type: StreamType§caps: CapsImplementations§
Trait Implementations§
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more