Enum rust_corosync::cmap::Data[][src]

pub enum Data {
Show 13 variants Int8(i8), UInt8(u8), Int16(i16), UInt16(u16), Int32(i32), UInt32(u32), Int64(i64), UInt64(u64), Float(f32), Double(f64), String(String), Binary(Vec<u8>), Unknown,
}
Expand description

Data returned from the cmap::get() call and tracker & iterators. Contains the data itself and the type of that data.

Variants

Int8(i8)

Tuple Fields of Int8

0: i8
UInt8(u8)

Tuple Fields of UInt8

0: u8
Int16(i16)

Tuple Fields of Int16

0: i16
UInt16(u16)

Tuple Fields of UInt16

0: u16
Int32(i32)

Tuple Fields of Int32

0: i32
UInt32(u32)

Tuple Fields of UInt32

0: u32
Int64(i64)

Tuple Fields of Int64

0: i64
UInt64(u64)

Tuple Fields of UInt64

0: u64
Float(f32)

Tuple Fields of Float

0: f32
Double(f64)

Tuple Fields of Double

0: f64
String(String)

Tuple Fields of String

0: String
Binary(Vec<u8>)

Tuple Fields of Binary

0: Vec<u8>
Unknown

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.