pub trait BlockIo {
    fn block_size(&self) -> usize;
Expand description

A parent trait used to specify the block size (in bytes) of I/O transfers (read and write operations). See its use in BlockReader and BlockWriter.

Required methods

Returns the size in bytes of a single block (i.e., sector), the minimum granularity of I/O transfers.

Implementations on Foreign Types