pub struct StillStream { /* private fields */ }Expand description
A still as a one-frame video stream at time zero, for hosts that open every visual source as
a Decoder.
Implementations§
Source§impl StillStream
impl StillStream
Sourcepub fn open(path: &Path) -> Result<Self, DecodeError>
pub fn open(path: &Path) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Debug for StillStream
impl Debug for StillStream
Source§impl Decoder for StillStream
impl Decoder for StillStream
Source§fn streams(&self) -> &[StreamInfo]
fn streams(&self) -> &[StreamInfo]
Returns deterministic stream metadata and stream selection.
Source§fn flush(&mut self) -> Result<(), DecodeError>
fn flush(&mut self) -> Result<(), DecodeError>
Flushes queued packets and frames without changing stream selection. Read more
Source§fn seek(
&mut self,
request: DecodeRequest,
cancel: &CancelToken,
) -> Result<DecodeResult, DecodeError>
fn seek( &mut self, request: DecodeRequest, cancel: &CancelToken, ) -> Result<DecodeResult, DecodeError>
Seeks and returns what is presented at the request’s time. Read more
Source§fn decode_next(
&mut self,
cancel: &CancelToken,
) -> Result<DecodeEvent, DecodeError>
fn decode_next( &mut self, cancel: &CancelToken, ) -> Result<DecodeEvent, DecodeError>
Advances packet draining by one observable event. Read more
Auto Trait Implementations§
impl Forget for StillStream
impl Freeze for StillStream
impl Move for StillStream
impl RefUnwindSafe for StillStream
impl Send for StillStream
impl Sync for StillStream
impl Unpin for StillStream
impl UnsafeUnpin for StillStream
impl UnwindSafe for StillStream
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more