[][src]Struct dbus_strings::DBusStr

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

A D-Bus string must be valid UTF-8 and contain no interior nul bytes.

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

Trait Implementations

impl AsRef<DBusStr> for InterfaceName[src]

impl AsRef<DBusStr> for MemberName[src]

impl AsRef<DBusStr> for ErrorName[src]

impl AsRef<DBusStr> for BusName[src]

impl AsRef<DBusStr> for SignatureSingle[src]

impl AsRef<DBusStr> for SignatureMulti[src]

impl AsRef<DBusStr> for ObjectPath[src]

impl AsRef<str> for DBusStr[src]

impl Borrow<DBusStr> for DBusString[src]

impl Debug for DBusStr[src]

impl Deref for DBusStr[src]

type Target = str

The resulting type after dereferencing.

impl Display for DBusStr[src]

impl Eq for DBusStr[src]

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

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

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

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

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

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

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

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

impl Hash for DBusStr[src]

impl Ord for DBusStr[src]

impl PartialEq<DBusStr> for DBusStr[src]

impl PartialOrd<DBusStr> for DBusStr[src]

impl StringLike for DBusStr[src]

impl StructuralEq for DBusStr[src]

impl StructuralPartialEq for DBusStr[src]

impl ToOwned for DBusStr[src]

type Owned = DBusString

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 DBusStr> for &'a MemberName[src]

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

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

type Error = InvalidStringError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for DBusStr

impl Send for DBusStr

impl Sync for DBusStr

impl Unpin for DBusStr

impl UnwindSafe for DBusStr

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]