Enum rd_util::systemd::PropVariant[][src]

pub enum PropVariant {
    Bool(bool),
    U32(u32),
    U64(u64),
    String(String),
    StringList(Vec<String>),
    ExecStart(Vec<(String, Vec<String>, bool)>),
    Catchall(Type),
}

Variants

Bool(bool)

Tuple Fields of Bool

0: bool
U32(u32)

Tuple Fields of U32

0: u32
U64(u64)

Tuple Fields of U64

0: u64
String(String)

Tuple Fields of String

0: String
StringList(Vec<String>)

Tuple Fields of StringList

0: Vec<String>
ExecStart(Vec<(String, Vec<String>, bool)>)

Tuple Fields of ExecStart

0: Vec<(String, Vec<String>, bool)>
Catchall(Type)

Tuple Fields of Catchall

0: Type

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Appends the signature of the type to the SignatureBuffer. Read more

Check if this type fulfills this signature. This may expect to only be called with valid signatures. But it might be called with the wrong signature. This means for example you must check the length before indexing. Read more

If this returns true, it indicates that for implementing type T, Rust’s [T] is identical to DBus’s array format and can be copied into a message after aligning the first element. 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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.