Struct io_block::BlockFile
[−]
[src]
pub struct BlockFile<T> { /* fields omitted */ }
Wrap some type T in a block container
Methods
impl<T> BlockFile<T>
[src]
Trait Implementations
impl<T> Deref for BlockFile<T>
[src]
type Target = T
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl<T> DerefMut for BlockFile<T>
[src]
impl<T> BlockSize for BlockFile<T>
[src]
fn block_size_logical(&self) -> Result<u64>
The number of bytes in each logical block
fn block_count(&self) -> Result<u64>
The total number of logical blocks
fn block_size_physical(&self) -> Result<u64>
The number of bytes in each physical block Read more