pub enum ChannelData {
Video {
timestamp: u32,
data: Bytes,
},
Audio {
timestamp: u32,
data: Bytes,
},
Metadata {
timestamp: u32,
data: Bytes,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChannelData
impl Clone for ChannelData
Source§fn clone(&self) -> ChannelData
fn clone(&self) -> ChannelData
Returns a copy 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 ChannelData
impl RefUnwindSafe for ChannelData
impl Send for ChannelData
impl Sync for ChannelData
impl Unpin for ChannelData
impl UnwindSafe for ChannelData
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