Trait ToDBusAddrs

Source
pub trait ToDBusAddrs<'a> {
    type Iter: Iterator<Item = Result<DBusAddr<'a>>>;

    // Required method
    fn to_dbus_addrs(&'a self) -> Self::Iter;
}
Expand description

A trait for objects which can be converted or resolved to one or more DBusAddr values.

Required Associated Types§

Source

type Iter: Iterator<Item = Result<DBusAddr<'a>>>

Required Methods§

Source

fn to_dbus_addrs(&'a self) -> Self::Iter

Implementations on Foreign Types§

Source§

impl<'a> ToDBusAddrs<'a> for str

Source§

type Iter = Once<Result<DBusAddr<'a>, Error>>

Source§

fn to_dbus_addrs(&'a self) -> Self::Iter

Source§

impl<'a> ToDBusAddrs<'a> for String

Source§

type Iter = Once<Result<DBusAddr<'a>, Error>>

Source§

fn to_dbus_addrs(&'a self) -> Self::Iter

Source§

impl<'a> ToDBusAddrs<'a> for Vec<Result<DBusAddr<'_>>>

Source§

type Iter = Cloned<Iter<'a, Result<DBusAddr<'a>, Error>>>

Source§

fn to_dbus_addrs(&'a self) -> Self::Iter

Implementors§