[][src]Struct dbus_strings::SignatureSingle

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

A D-Bus type signature of a single type, e g "b" or "a{sv}" but not "ii"

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

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

Type conversion to DBusStr.

Trait Implementations

impl AsRef<DBusStr> for SignatureSingle[src]

impl AsRef<str> for SignatureSingle[src]

impl Borrow<SignatureSingle> for SignatureSingleBuf[src]

impl Debug for SignatureSingle[src]

impl Deref for SignatureSingle[src]

type Target = str

The resulting type after dereferencing.

impl Display for SignatureSingle[src]

impl Eq for SignatureSingle[src]

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

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

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

impl Hash for SignatureSingle[src]

impl Ord for SignatureSingle[src]

impl PartialEq<SignatureSingle> for SignatureSingle[src]

impl PartialOrd<SignatureSingle> for SignatureSingle[src]

impl StringLike for SignatureSingle[src]

impl StructuralEq for SignatureSingle[src]

impl StructuralPartialEq for SignatureSingle[src]

impl ToOwned for SignatureSingle[src]

type Owned = SignatureSingleBuf

The resulting type after obtaining ownership.

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 str> for &'a SignatureSingle[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]