Trait corepack::read::Read[][src]

pub trait Read<'de>: Sealed {
    fn input<'a>(
        &mut self,
        len: usize,
        scratch: &'a mut Vec<u8>
    ) -> Result<Reference<'de, 'a>, Error>; }

The trait used by Deserializer to read input data

Required Methods

Reads the next len bytes of data, either by borowing or copying

Implementors