Enum async_rustbus::rustbus_core::message_builder::HdrVar[][src]

pub enum HdrVar<'fds, 'buf> {
    Path(&'buf ObjectPath),
    Str(&'buf str),
    U32(u32),
    Sig(&'buf SigStr),
    Catchall(Variant<'fds, 'buf>),
}

Variants

Path

Tuple Fields of Path

0: &'buf ObjectPath
Str

Tuple Fields of Str

0: &'buf str
U32

Tuple Fields of U32

0: u32
Sig

Tuple Fields of Sig

0: &'buf SigStr
Catchall

Tuple Fields of Catchall

0: Variant<'fds, 'buf>

Trait Implementations

Formats the value using the given formatter. Read more

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 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.