Enum lttng_ust_generate::CTFType [] [src]

pub enum CTFType {
    Integer(CIntegerType),
    IntegerNoWrite(CIntegerType),
    IntegerHex(CIntegerType),
    IntegerNetwork(CIntegerType),
    IntegerNetworkHex(CIntegerType),
    Float(CFloatType),
    FloatNoWrite(CFloatType),
    String,
    StringNoWrite,
    Array(CIntegerTypei32),
    ArrayText(i32),
    ArrayNoWrite(CIntegerTypei32),
    Sequence(CIntegerType),
    SequenceNoWrite(CIntegerType),
    SequenceText,
    SequenceTextNoWrite,
    Enum,
    EnumNoWrite,
}

Represents a CTF type

Variants

A standard base-10 integer. Maps to ctf_integer.

A standard base-10 integer which is available to event filters, but is not persisted to the event itself. Maps to ctf_integer_nowrite.

Integer to be printed in hex format. Maps to ctf_integer_hex.

Integer in network (BE) byte order. Maps to ctf_integer_network.

Integer in network (BE) byte order, to be printed in hex. Maps to ctf_niteger_network_hex.

IEEE single- or double- precision float. Maps to ctf_float.

IEEE single- or double- precision float which is available to event filters, but is not persisted to the event itself. Maps to ctf_float_nowrite.

A null-terminated string. Unless you're working with already-terminated OsStrings, you probably want to use a SequenceText or ArrayText instead. Maps to ctf_string.

A null-terminated string which is available to event filters, but is not persisted. Unless you're working with already-terminated OsStrings, you probably want to use a SequenceTextNoWrite instead. Maps to ctf_string_nowrite.

A statically sized array of integers Maps to ctf_array.

A statically sized array of integers Maps to ctf_array_text.

A statically sized array of integers which is available to event filters, but is not persisted. Maps to ctf_array_nowrite.

Dynamically sized array of integers Maps to ctf_sequence.

A dynamically sized array of integers which is available to event filters, but is not persisted. Maps to ctf_sequence_nowrite.

Dynamically-sized array, displayed as text Maps to ctf_sequence_text.

Dynamically-sized array, displayed as text, but is not persisted. Maps to ctf_sequence_text_nowrite.

Enumeration value. TODO: some sort of proc-macro skulduggery is probably required here. Maps to ctf_enum.

Enumeration value. that is available to event filters but is not persisted TODO: some sort of proc-macro skulduggery is probably required here. Maps to ctf_enum_nowrite.

Trait Implementations

impl Copy for CTFType
[src]

impl Clone for CTFType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CTFType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for CTFType
[src]

impl Debug for CTFType
[src]

[src]

Formats the value using the given formatter.