pub struct StreamSourceControlHandle { /* private fields */ }
Implementations§
source§impl StreamSourceControlHandle
impl StreamSourceControlHandle
pub fn send_on_packet_produced( &self, packet: &StreamPacket ) -> Result<(), Error>
pub fn send_on_end_of_stream(&self) -> Result<(), Error>
Trait Implementations§
source§impl Clone for StreamSourceControlHandle
impl Clone for StreamSourceControlHandle
source§fn clone(&self) -> StreamSourceControlHandle
fn clone(&self) -> StreamSourceControlHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ControlHandle for StreamSourceControlHandle
impl ControlHandle for StreamSourceControlHandle
Auto Trait Implementations§
impl !RefUnwindSafe for StreamSourceControlHandle
impl Send for StreamSourceControlHandle
impl Sync for StreamSourceControlHandle
impl Unpin for StreamSourceControlHandle
impl !UnwindSafe for StreamSourceControlHandle
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