Struct gstreamer_app::app_src::AppSrcSink
source · pub struct AppSrcSink { /* private fields */ }
Trait Implementations§
source§impl Debug for AppSrcSink
impl Debug for AppSrcSink
source§impl Drop for AppSrcSink
impl Drop for AppSrcSink
source§impl Sink<Sample> for AppSrcSink
impl Sink<Sample> for AppSrcSink
source§fn poll_ready(
self: Pin<&mut Self>,
context: &mut Context<'_>,
) -> Poll<Result<(), Self::Error>>
fn poll_ready( self: Pin<&mut Self>, context: &mut Context<'_>, ) -> Poll<Result<(), Self::Error>>
Attempts to prepare the
Sink
to receive a value. Read moresource§fn start_send(self: Pin<&mut Self>, sample: Sample) -> Result<(), Self::Error>
fn start_send(self: Pin<&mut Self>, sample: Sample) -> Result<(), Self::Error>
Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
poll_ready
which returned Poll::Ready(Ok(()))
. Read moreAuto Trait Implementations§
impl Freeze for AppSrcSink
impl RefUnwindSafe for AppSrcSink
impl Send for AppSrcSink
impl Sync for AppSrcSink
impl Unpin for AppSrcSink
impl UnwindSafe for AppSrcSink
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
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