[][src]Struct serde_scale::Deserializer

pub struct Deserializer<R>(_);

Deserializer for the SCALE encoding

Implementations

impl<'de, R: Read<'de>> Deserializer<R>[src]

pub fn new(r: R) -> Self[src]

Returns a deserializer using the given reader

pub fn into_inner(self) -> R[src]

Returns the underlying reader

Trait Implementations

impl<'de, R: Read<'de>, '_> Deserializer<'de> for &'_ mut Deserializer<R>[src]

type Error = Error<R::Error>

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

Auto Trait Implementations

impl<R> RefUnwindSafe for Deserializer<R> where
    R: RefUnwindSafe

impl<R> Send for Deserializer<R> where
    R: Send

impl<R> Sync for Deserializer<R> where
    R: Sync

impl<R> Unpin for Deserializer<R> where
    R: Unpin

impl<R> UnwindSafe for Deserializer<R> where
    R: UnwindSafe

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, 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.