Struct random_access_storage::Sync [] [src]

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

Create a synchronous instance.

Fields

Check whether or not the file has been opened.

Methods

impl<T> Sync<T> where
    T: SyncMethods
[src]

[src]

Create a new Sync 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 Sync<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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