Struct hubs::HubsWriteAccess[][src]

pub struct HubsWriteAccess<'a, T> {
    pub chunk: &'a mut Chunk<T>,
    // some fields omitted
}
Expand description

Some sort of write guard for a single chunk.

You need to call .commit() when you are done. This returns the chunk to the Hubs and will enable it to be read.

You may access the internal data via chunk. See the documentation in Chunk for more details

Fields

chunk: &'a mut Chunk<T>

Implementations

Commits this chunk, making it available to be read and allows the Hubs to give you a new one.

  • You need to call this function if you borrowed a chunk.
  • You need to call this function before you borrow the next chunk. If you fail to do so, the following will happen: Bad things.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.