Struct random_access_storage::RandomAccess [] [src]

pub struct RandomAccess<T> {
    pub opened: bool,
    // some fields omitted
}

Create a random access instance.

Fields

Check whether or not the file has been opened.

Methods

impl<T> RandomAccess<T> where
    T: RandomAccessMethods
[src]

[src]

Create a new RandomAccess instance.

[src]

Write bytes at an offset. Calls SyncMethods::write under the hood.

[src]

Write bytes from an offset. Calls SyncMethods::read under the hood.

[src]

Delete bytes from an offset. Calls SyncMethods::del under the hood.

Trait Implementations

impl<T: Debug> Debug for RandomAccess<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for RandomAccess<T> where
    T: Send

impl<T> Sync for RandomAccess<T> where
    T: Sync