pub struct RTPReaderFn(pub RTPReaderBoxFn);Tuple Fields§
§0: RTPReaderBoxFnTrait Implementations§
Source§impl RTPReader for RTPReaderFn
impl RTPReader for RTPReaderFn
Source§fn read<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
buf: &'life1 mut [u8],
attributes: &'life2 Attributes,
) -> Pin<Box<dyn Future<Output = Result<(Packet, 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<(Packet, Attributes), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
read a rtp packet
Auto Trait Implementations§
impl !RefUnwindSafe for RTPReaderFn
impl !UnwindSafe for RTPReaderFn
impl Freeze for RTPReaderFn
impl Send for RTPReaderFn
impl Sync for RTPReaderFn
impl Unpin for RTPReaderFn
impl UnsafeUnpin for RTPReaderFn
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