Expand description
Structs§
- DevEncoded
- A value of an encoded attribute or command: octets, and the name of the format they are in, which is how a device sends what Tango has no type for, a compressed image above all. Both share the message they were decoded out of.
- DevEnum
- A value of an enumerated attribute: the index of its label among the labels of the
attribute, see
crate::dev::AttrConfig::enum_labels.
Enums§
- Attr
Data Format - The layout of a Tango attribute value.
- Attr
Data Kind - The element type of a Tango attribute value, its layout being an
AttrDataFormat. - Command
Data Kind - The data kind of a Tango command argument. This is the closed set of types accepted
by
command_inout, without any layout information (seeCommandData). - Encoded
Pixels - The pixels of an image in one of the raw formats cppTango encodes images in, rows after rows: in the dimensions of an image, the width comes first and varies fastest, the way it does in an image attribute.
- Value
- Any value a Tango device exchanges, whatever its element type and dimensions: what a
backend encodes and decodes, and what the arguments and results of handlers are
converted from and into, with
FromandTryFrom. - Value
Format - A data in any of the formats Tango has, as many dimensions as it has.
Traits§
- Attr
Data - A type an attribute value can be, and what kind and format it is advertised as.
- Command
Data - A type a command argument or result can be, and what kind it is advertised as.
- From
Value - A type a value converts into, failing with an
Errorwhen it holds something else: everyTryFrom<Value>whose error is one,Valueitself included. - Into
Value - A type that converts into a value: every
Into<Value>,Valueitself included, seeFromValuefor the way back. - Tango
Element - An element type Tango has: which variant of
Valueholds it, and what kinds it is advertised as, seeAttrDataandCommandData.