[][src]Struct zvariant::ObjectPath

pub struct ObjectPath(_);

String that identifies objects at a given destination on the D-Bus bus.

Mostly likely this is only useful in the D-Bus context.

Methods

impl ObjectPath[src]

pub fn new(path: impl Into<ObjectPath>) -> Self[src]

Create a new ObjectPath.

pub fn as_str(&self) -> &str[src]

The object path as a string.

Trait Implementations

impl Basic for ObjectPath[src]

impl Clone for ObjectPath[src]

impl Debug for ObjectPath[src]

impl Decode for ObjectPath[src]

impl Deref for ObjectPath[src]

type Target = str

The resulting type after dereferencing.

impl Encode for ObjectPath[src]

impl Eq for ObjectPath[src]

impl<'_> From<&'_ str> for ObjectPath[src]

impl From<String> for ObjectPath[src]

impl Hash for ObjectPath[src]

impl<'_> PartialEq<&'_ str> for ObjectPath[src]

impl PartialEq<ObjectPath> for ObjectPath[src]

impl SimpleDecode for ObjectPath[src]

impl StructuralEq for ObjectPath[src]

impl StructuralPartialEq for ObjectPath[src]

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.