Struct interceptor::RTCPReaderFn
source · pub struct RTCPReaderFn(pub RTCPReaderBoxFn);
Tuple Fields§
§0: RTCPReaderBoxFn
Trait Implementations§
source§impl RTCPReader for RTCPReaderFn
impl RTCPReader for RTCPReaderFn
source§fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
buf: &'life1 mut [u8],
attributes: &'life2 Attributes
) -> Pin<Box<dyn Future<Output = Result<(Vec<Box<dyn Packet + Send + Sync>>, Attributes), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
buf: &'life1 mut [u8],
attributes: &'life2 Attributes
) -> Pin<Box<dyn Future<Output = Result<(Vec<Box<dyn Packet + Send + Sync>>, Attributes), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
read a batch of rtcp packets
Auto Trait Implementations§
impl !RefUnwindSafe for RTCPReaderFn
impl Send for RTCPReaderFn
impl Sync for RTCPReaderFn
impl Unpin for RTCPReaderFn
impl !UnwindSafe for RTCPReaderFn
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