Struct random_access_disk::SyncMethods
[−]
[src]
pub struct SyncMethods { /* fields omitted */ }
Methods that have been implemented to provide synchronous access to disk. . These should generally be kept private, but exposed to prevent leaking internals.
Trait Implementations
impl Debug for SyncMethods
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl SyncMethods for SyncMethods
[src]
fn open(&mut self) -> Result<(), Error>
[src]
Open the backend.
fn write(&mut self, offset: usize, data: &[u8]) -> Result<(), Error>
[src]
Write bytes at an offset to the backend.
fn read(&mut self, offset: usize, length: usize) -> Result<Vec<u8>, Error>
[src]
Read a sequence of bytes at an offset from the backend.
fn del(&mut self, _offset: usize, _length: usize) -> Result<(), Error>
[src]
Delete a sequence of bytes at an offset from the backend.