pub struct Guard<'a>(_);
Expand description
A handle that holds some resources of a table for user operations.
Implementations§
Methods from Deref<Target = Guard<'a, Std>>§
sourcepub async fn get(&self, key: &[u8], lsn: u64) -> Result<Option<&[u8]>>
pub async fn get(&self, key: &[u8], lsn: u64) -> Result<Option<&[u8]>>
Gets the value corresponding to the key.
On success, if the value is found, returns Option::Some
with the
value; if the value is not found, returns Option::None
.