Enum stabilizer::net::data_stream::StreamFormat
source · #[repr(u8)]pub enum StreamFormat {
Unknown = 0,
AdcDacData = 1,
Fls = 2,
}
Expand description
Specifies the format of streamed data
Variants§
Unknown = 0
Reserved, unused format specifier.
AdcDacData = 1
Streamed data contains ADC0, ADC1, DAC0, and DAC1 sequentially in little-endian format.
§Example
With a batch size of 2, the serialization would take the following form:
<ADC0[0]> <ADC0[1]> <ADC1[0]> <ADC1[1]> <DAC0[0]> <DAC0[1]> <DAC1[0]> <DAC1[1]>
Fls = 2
Streamed data in FLS (fiber length stabilization) format. See the FLS application for detailed definition.
Trait Implementations§
source§impl Clone for StreamFormat
impl Clone for StreamFormat
source§fn clone(&self) -> StreamFormat
fn clone(&self) -> StreamFormat
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 moresource§impl Debug for StreamFormat
impl Debug for StreamFormat
source§impl From<StreamFormat> for u8
impl From<StreamFormat> for u8
source§fn from(enum_value: StreamFormat) -> Self
fn from(enum_value: StreamFormat) -> Self
Converts to this type from the input type.
source§impl PartialEq for StreamFormat
impl PartialEq for StreamFormat
source§fn eq(&self, other: &StreamFormat) -> bool
fn eq(&self, other: &StreamFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamFormat
impl Eq for StreamFormat
impl StructuralPartialEq for StreamFormat
Auto Trait Implementations§
impl Freeze for StreamFormat
impl RefUnwindSafe for StreamFormat
impl Send for StreamFormat
impl Sync for StreamFormat
impl Unpin for StreamFormat
impl UnwindSafe for StreamFormat
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