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(CIntegerType, i32), ArrayText(i32), ArrayNoWrite(CIntegerType, i32), Sequence(CIntegerType), SequenceNoWrite(CIntegerType), SequenceText, SequenceTextNoWrite, Enum, EnumNoWrite, }
Represents a CTF type
Variants
Integer(CIntegerType)
A standard base-10 integer.
Maps to ctf_integer
.
IntegerNoWrite(CIntegerType)
A standard base-10 integer which is available to event filters, but is not persisted to the
event itself.
Maps to ctf_integer_nowrite
.
IntegerHex(CIntegerType)
Integer to be printed in hex format.
Maps to ctf_integer_hex
.
IntegerNetwork(CIntegerType)
Integer in network (BE) byte order.
Maps to ctf_integer_network
.
IntegerNetworkHex(CIntegerType)
Integer in network (BE) byte order, to be printed in hex.
Maps to ctf_niteger_network_hex
.
Float(CFloatType)
IEEE single- or double- precision float.
Maps to ctf_float
.
FloatNoWrite(CFloatType)
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
.
String
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
.
StringNoWrite
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
.
Array(CIntegerType, i32)
A statically sized array of integers
Maps to ctf_array
.
ArrayText(i32)
A statically sized array of integers
Maps to ctf_array_text
.
ArrayNoWrite(CIntegerType, i32)
A statically sized array of integers which is available to event filters, but is not
persisted.
Maps to ctf_array_nowrite
.
Sequence(CIntegerType)
Dynamically sized array of integers
Maps to ctf_sequence
.
SequenceNoWrite(CIntegerType)
A dynamically sized array of integers which is available to event filters, but is not
persisted.
Maps to ctf_sequence_nowrite
.
SequenceText
Dynamically-sized array, displayed as text
Maps to ctf_sequence_text
.
SequenceTextNoWrite
Dynamically-sized array, displayed as text, but is not persisted.
Maps to ctf_sequence_text_nowrite
.
Enum
Enumeration value.
TODO: some sort of proc-macro skulduggery is probably required here.
Maps to ctf_enum
.
EnumNoWrite
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]
fn clone(&self) -> CTFType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for CTFType
[src]
fn eq(&self, __arg_0: &CTFType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CTFType) -> bool
[src]
This method tests for !=
.