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
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.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.