[][src]Struct zvariant::Fd

pub struct Fd(_);

A RawFd wrapper.

We wrap the RawFd type so that we can implement Serialize and Deserialize for it. File descriptors are serialized in a special way and you need to use specific serializer and deserializer API when file descriptors are or could be involved.

Trait Implementations

impl Basic for Fd[src]

impl Clone for Fd[src]

impl Copy for Fd[src]

impl Debug for Fd[src]

impl<'de> Deserialize<'de> for Fd[src]

impl Display for Fd[src]

impl Eq for Fd[src]

impl<'_, T> From<&'_ T> for Fd where
    T: AsRawFd
[src]

impl<'a> From<Fd> for Value<'a>[src]

impl From<i32> for Fd[src]

impl Hash for Fd[src]

impl PartialEq<Fd> for Fd[src]

impl Serialize for Fd[src]

impl StructuralEq for Fd[src]

impl StructuralPartialEq for Fd[src]

impl<'a> TryFrom<&'a OwnedValue> for Fd[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a Value<'a>> for &'a Fd[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'a> TryFrom<&'a Value<'a>> for Fd[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'a> TryFrom<OwnedValue> for Fd[src]

type Error = Error

The type returned in the event of a conversion error.

impl<'a> TryFrom<Value<'a>> for Fd[src]

type Error = Error

The type returned in the event of a conversion error.

impl Type for Fd[src]

Auto Trait Implementations

impl RefUnwindSafe for Fd

impl Send for Fd

impl Sync for Fd

impl Unpin for Fd

impl UnwindSafe for Fd

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToString for T where
    T: Display + ?Sized
[src]

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.