Struct interceptor::RTCPWriterFn
source · [−]pub struct RTCPWriterFn(pub RTCPWriterBoxFn);
Tuple Fields
0: RTCPWriterBoxFn
Trait Implementations
sourceimpl RTCPWriter for RTCPWriterFn
impl RTCPWriter for RTCPWriterFn
sourcefn write<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
pkts: &'life1 [Box<dyn Packet + Send + Sync>],
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,
pkts: &'life1 [Box<dyn Packet + Send + Sync>],
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 batch of rtcp packets
Auto Trait Implementations
impl !RefUnwindSafe for RTCPWriterFn
impl Send for RTCPWriterFn
impl Sync for RTCPWriterFn
impl Unpin for RTCPWriterFn
impl !UnwindSafe for RTCPWriterFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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