pub struct LazyKeyValue {
pub key: Vec<u8>,
pub value: LazyValue,
}Expand description
Row returned by LazyIter.
Fields§
§key: Vec<u8>User key bytes.
value: LazyValueValue handle that may defer reading blob bytes.
Implementations§
Source§impl LazyKeyValue
impl LazyKeyValue
Sourcepub fn into_key_value_sync(self) -> Result<KeyValue>
pub fn into_key_value_sync(self) -> Result<KeyValue>
Reads any deferred value bytes synchronously and returns an owned row.
Sourcepub async fn into_key_value(self) -> Result<KeyValue>
pub async fn into_key_value(self) -> Result<KeyValue>
Reads any deferred value bytes asynchronously and returns an owned row.
Trait Implementations§
Source§impl Clone for LazyKeyValue
impl Clone for LazyKeyValue
Source§fn clone(&self) -> LazyKeyValue
fn clone(&self) -> LazyKeyValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LazyKeyValue
impl RefUnwindSafe for LazyKeyValue
impl Send for LazyKeyValue
impl Sync for LazyKeyValue
impl Unpin for LazyKeyValue
impl UnsafeUnpin for LazyKeyValue
impl UnwindSafe for LazyKeyValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more