[][src]Struct dbus_strings::InterfaceName

#[repr(transparent)]
pub struct InterfaceName(_);

A D-Bus interface name is usually something like "org.freedesktop.DBus"

For exact rules see the D-Bus specification.

Like str and CStr, this struct is unsized, which means that the way to access it is through a reference.

Methods

impl InterfaceName[src]

pub fn as_dbus_str(&self) -> &DBusStr[src]

Type conversion to DBusStr.

Trait Implementations

impl AsRef<DBusStr> for InterfaceName[src]

impl AsRef<str> for InterfaceName[src]

impl Borrow<InterfaceName> for InterfaceNameBuf[src]

impl Debug for InterfaceName[src]

impl Deref for InterfaceName[src]

type Target = str

The resulting type after dereferencing.

impl Display for InterfaceName[src]

impl Eq for InterfaceName[src]

impl<'a> From<&'a InterfaceName> for Cow<'a, InterfaceName>[src]

impl<'a> From<&'a InterfaceName> for &'a DBusStr[src]

impl Hash for InterfaceName[src]

impl Ord for InterfaceName[src]

impl PartialEq<InterfaceName> for InterfaceName[src]

impl PartialOrd<InterfaceName> for InterfaceName[src]

impl StringLike for InterfaceName[src]

impl StructuralEq for InterfaceName[src]

impl StructuralPartialEq for InterfaceName[src]

impl ToOwned for InterfaceName[src]

type Owned = InterfaceNameBuf

The resulting type after obtaining ownership.

impl<'a> TryFrom<&'a DBusStr> for &'a InterfaceName[src]

type Error = InvalidStringError

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a str> for &'a InterfaceName[src]

type Error = InvalidStringError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]