[][src]Struct zvariant::Deserializer

pub struct Deserializer<'de, 'sig, 'f, B> { /* fields omitted */ }

Our deserialization implementation.


impl<'de, 'sig, 'f, B> Deserializer<'de, 'sig, 'f, B> where
    B: ByteOrder

pub fn new<'r: 'de>(
    bytes: &'r [u8],
    fds: Option<&'f [RawFd]>,
    signature: &Signature<'sig>,
    ctxt: EncodingContext<B>
) -> Self

Create a Deserializer struct instance.

Trait Implementations

impl<'de, 'sig, 'f, B: Debug> Debug for Deserializer<'de, 'sig, 'f, B>[src]

impl<'de, 'd, 'sig, 'f, B> Deserializer<'de> for &'d mut Deserializer<'de, 'sig, 'f, B> where
    B: ByteOrder

type Error = Error

The error type that can be returned if some error occurs during deserialization. Read more

Auto Trait Implementations

impl<'de, 'sig, 'f, B> RefUnwindSafe for Deserializer<'de, 'sig, 'f, B> where
    B: RefUnwindSafe

impl<'de, 'sig, 'f, B> Send for Deserializer<'de, 'sig, 'f, B> where
    B: Send

impl<'de, 'sig, 'f, B> Sync for Deserializer<'de, 'sig, 'f, B> where
    B: Sync

impl<'de, 'sig, 'f, B> Unpin for Deserializer<'de, 'sig, 'f, B> where
    B: Unpin

impl<'de, 'sig, 'f, B> UnwindSafe for Deserializer<'de, 'sig, 'f, B> where
    B: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.