Struct interceptor::RTPWriterFn
source · [−]pub struct RTPWriterFn(pub RTPWriterBoxFn);
Tuple Fields
0: RTPWriterBoxFn
Trait Implementations
sourceimpl RTPWriter for RTPWriterFn
impl RTPWriter for RTPWriterFn
sourcefn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
pkt: &'life1 Packet,
attributes: &'life2 Attributes
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
pkt: &'life1 Packet,
attributes: &'life2 Attributes
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
write a rtp packet
Auto Trait Implementations
impl !RefUnwindSafe for RTPWriterFn
impl Send for RTPWriterFn
impl Sync for RTPWriterFn
impl Unpin for RTPWriterFn
impl !UnwindSafe for RTPWriterFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more