Struct dbus::arg::Iter [] [src]

pub struct Iter<'a>(_, _);

Helper struct for retrieve one or more arguments from a Message. Note that this is not a Rust iterator, because arguments are often of different types

Methods

impl<'a> Iter<'a>
[src]

The raw arg_type for the current item. Unlike Arg::arg_type, this requires access to self and is not a static method. You can match this against Arg::arg_type for different types to understand what type the current item is.

Returns false if there are no more items.

If the current argument is a container of the specified arg_type, then a new Iter is returned which is for iterating over the contents inside the container.

Primarily for internal use (the "get" function is more ergonomic), but could be useful for recursing into containers with unknown types.

Trait Implementations

impl<'a> Copy for Iter<'a>
[src]

impl<'a> Clone for Iter<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Iter<'a>
[src]

Formats the value using the given formatter.