[][src]Struct dbus_strings::MemberName

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

A D-Bus member name is usually something like "Hello", a single identifier without special characters.

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 MemberName[src]

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

Type conversion to DBusStr.

Trait Implementations

impl AsRef<DBusStr> for MemberName[src]

impl AsRef<str> for MemberName[src]

impl Borrow<MemberName> for MemberNameBuf[src]

impl Debug for MemberName[src]

impl Deref for MemberName[src]

type Target = str

The resulting type after dereferencing.

impl Display for MemberName[src]

impl Eq for MemberName[src]

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

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

impl Hash for MemberName[src]

impl Ord for MemberName[src]

impl PartialEq<MemberName> for MemberName[src]

impl PartialOrd<MemberName> for MemberName[src]

impl StringLike for MemberName[src]

impl StructuralEq for MemberName[src]

impl StructuralPartialEq for MemberName[src]

impl ToOwned for MemberName[src]

type Owned = MemberNameBuf

The resulting type after obtaining ownership.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a str> for &'a MemberName[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]