pub enum LinkMsg<'a> {
Frame {
header: VideoHeader,
frame: &'a [u8],
},
Control(FromLink),
Pcm {
rate: u32,
channels: u8,
samples: &'a [u8],
},
}Expand description
What one link message is.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for LinkMsg<'a>
impl<'a> RefUnwindSafe for LinkMsg<'a>
impl<'a> Send for LinkMsg<'a>
impl<'a> Sync for LinkMsg<'a>
impl<'a> Unpin for LinkMsg<'a>
impl<'a> UnsafeUnpin for LinkMsg<'a>
impl<'a> UnwindSafe for LinkMsg<'a>
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