pub struct Reservation<'a> { /* fields omitted */ }
A pending log reservation which can be aborted or completed.
NB the holder should quickly call complete
or abort
as
taking too long to decide will cause the underlying IO
buffer to become blocked.
Cancel the reservation, placing a failed flush on disk, returning
the (cancelled) log sequence number and file offset.
Complete the reservation, placing the buffer on disk. returns
the log sequence number of the write, and the file offset.
Get the log file offset for reading this buffer in the future.
Get the log sequence number for this update.
Get the underlying storage location for the written value.
Note that an blob write still has a pointer in the
log at the provided lid location.
Executes the destructor for this type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static