pub struct WriteRequest {
pub mid: Mid,
pub pt: Pt,
pub time: MediaTime,
pub payload: Bytes,
}Expand description
One frame waiting to be written into str0m’s Writer.
Pump tasks build these and send them down the channel; the session loop
receives them and calls rtc.writer(mid).write(pt, wallclock, time, payload).
Fields§
§mid: Mid§pt: Pt§time: MediaTime§payload: BytesAuto Trait Implementations§
impl !Freeze for WriteRequest
impl RefUnwindSafe for WriteRequest
impl Send for WriteRequest
impl Sync for WriteRequest
impl Unpin for WriteRequest
impl UnsafeUnpin for WriteRequest
impl UnwindSafe for WriteRequest
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