#[non_exhaustive]pub enum StreamBlock {
Image(Frame),
Evs(EvsBlock),
}Expand description
The semantic payload carried by one complete GVSP block.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Image(Frame)
A conventional image payload.
Evs(EvsBlock)
A LUCID event-vision payload encoded as EVT 2.1 or EVT 3.0.
Trait Implementations§
Source§impl Clone for StreamBlock
impl Clone for StreamBlock
Source§impl Debug for StreamBlock
impl Debug for StreamBlock
Source§impl From<GenericStreamBlock> for StreamBlock
impl From<GenericStreamBlock> for StreamBlock
Source§fn from(value: GenericStreamBlock) -> Self
fn from(value: GenericStreamBlock) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for StreamBlock
impl RefUnwindSafe for StreamBlock
impl Send for StreamBlock
impl Sync for StreamBlock
impl Unpin for StreamBlock
impl UnsafeUnpin for StreamBlock
impl UnwindSafe for StreamBlock
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