[][src]Function mongodb::decode_document

pub fn decode_document<R>(
    reader: &mut R
) -> Result<OrderedDocument, DecoderError> where
    R: Read + ?Sized

Attempt to decode a Document from a byte stream.