RawAttrsOpts

Enum RawAttrsOpts 

Source
pub enum RawAttrsOpts<'a> {
    Duration(u32),
    EndReason(u8),
    MedianBefore(f64),
    ReadId(&'a str),
    ReadNumber(i32),
    StartMux(u8),
    StartTime(u64),
}
Expand description

Provides the Attributes for the Raw Group - which in turn conatins the Signal dataset. This allows us to match for each attribute field, and provide the correct type to HDF5.

Variants§

§

Duration(u32)

The duration of the read in seconds.

§

EndReason(u8)

The reason that the read stopped.

§

MedianBefore(f64)

No idea lol

§

ReadId(&'a str)

37 character UUID-4 identifer for the read.

§

ReadNumber(i32)

Read number - the number the read is in the run.

§

StartMux(u8)

Also not sure

§

StartTime(u64)

The start time of the read in milliseconds (I guess)

Auto Trait Implementations§

§

impl<'a> Freeze for RawAttrsOpts<'a>

§

impl<'a> RefUnwindSafe for RawAttrsOpts<'a>

§

impl<'a> Send for RawAttrsOpts<'a>

§

impl<'a> Sync for RawAttrsOpts<'a>

§

impl<'a> Unpin for RawAttrsOpts<'a>

§

impl<'a> UnwindSafe for RawAttrsOpts<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.