Trait diny::AsyncDeserialize[][src]

pub trait AsyncDeserialize: Decodable {
    type Future: Future + Unpin;
    fn deserialize<F, R>(format: &'r F, reader: &'r mut R) -> Self::Future
        F: FormatDeserialize,
        R: AsyncBufRead + Unpin
; }
Expand description

Deserialize a data structure asynchronously.

Associated Types

The concrete future returned by the deserialize method.

Required methods

Attempt to deserialize the type asynchronously for the indicated format via the provided asynchronous reader.

Implementations on Foreign Types