[][src]Enum ethercat_types::Value

pub enum Value {
    Bool(bool),
    Byte(u8),
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    U8(u8),
    U16(u16),
    U32(u32),
    U64(u64),
    F32(f32),
    F64(f64),
    String(String),
    U8Array(Vec<u8>),
    U16Array(Vec<u16>),
    Bit1(bool),
    Bit2(bool),
    Bit3(bool),
    Bit4(bool),
    Bit5(bool),
    Bit6(bool),
    Bit7(bool),
    Bit8(bool),
    Raw(Vec<u8>),
}

EtherCAT SDO/PDO Value

Variants

Bool(bool)

BIT

Byte(u8)

BYTE

I8(i8)

SINT

I16(i16)

INT

I32(i32)

DINT

I64(i64)

LINT

U8(u8)

USINT

U16(u16)

UINT

U32(u32)

UDINT

U64(u64)

ULINT

F32(f32)

REAL

F64(f64)

LREAL

String(String)

STRING(n) a.k.a. visiable string

U8Array(Vec<u8>)

ARRAY of BYTE a.k.a. Octet String

U16Array(Vec<u16>)

ARRAY of UINT a.k.a. Unicode String

Bit1(bool)

BIT 1

Bit2(bool)

BIT 2

Bit3(bool)

BIT 3

Bit4(bool)

BIT 4

Bit5(bool)

BIT 5

Bit6(bool)

BIT 6

Bit7(bool)

BIT 7

Bit8(bool)

BIT 8

Raw(Vec<u8>)

Trait Implementations

impl Clone for Value[src]

impl Debug for Value[src]

impl PartialEq<Value> for Value[src]

impl StructuralPartialEq for Value[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.