pub struct WireChunkData {
pub stream_id: String,
pub timestamp_usec: i64,
pub data: Vec<u8>,
}Expand description
An encoded audio chunk ready to be sent to clients.
Fields§
§stream_id: StringStream ID this chunk belongs to.
timestamp_usec: i64Server timestamp in microseconds.
data: Vec<u8>Encoded audio data.
Trait Implementations§
Source§impl Clone for WireChunkData
impl Clone for WireChunkData
Source§fn clone(&self) -> WireChunkData
fn clone(&self) -> WireChunkData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WireChunkData
impl RefUnwindSafe for WireChunkData
impl Send for WireChunkData
impl Sync for WireChunkData
impl Unpin for WireChunkData
impl UnsafeUnpin for WireChunkData
impl UnwindSafe for WireChunkData
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