Struct mmids_core::StreamId [−][src]
pub struct StreamId(pub String);
Expand description
Unique identifier that identifies the flow of video end-to-end. Normally when media data enters the beginning of a workflow it will be given a unique stream identifier, and it will keep that identifier until it leaves the last stage of the workflow. This allows for logging to give visibility of how media is processed throughout it’s all lifetime.
If a workflow has a step that requires media to leave the system and then come back in for further steps, than it should keep the same stream identifier. For example, if a workflow has an ffmpeg transcoding step in the workflow (e.g. to add a watermark), when ffmpeg pushes the video back in it will keep the same identifier.
Tuple Fields
0: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StreamId
impl UnwindSafe for StreamId
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more