class ReaderInterface

Defined at line 33 of file ../../src/storage/minfs/lazy_reader.h

An interface for reading blocks. An instance is passed to the Read method.

Public Methods

zx::result<uint64_t> Enqueue (BlockRange range)

Queue a read for |range| blocks. Returns the number of blocks enqueued. The remainder will be

pased to a subsequent call.

void ReaderInterface ()

Defined at line 35 of file ../../src/storage/minfs/lazy_reader.h

void ReaderInterface (ReaderInterface & )

Not copyable or movable.

Defined at line 38 of file ../../src/storage/minfs/lazy_reader.h

zx::result<> RunRequests ()

Issues the queued reads and returns the result.

uint32_t BlockSize ()
ReaderInterface & operator= (ReaderInterface & )

Defined at line 39 of file ../../src/storage/minfs/lazy_reader.h

void ~ReaderInterface ()

Defined at line 41 of file ../../src/storage/minfs/lazy_reader.h