#[repr(packed(1))]pub struct FdbKeyValue(/* private fields */);
Expand description
A keyvalue owned by a foundationDB future
Because the data it represent is owned by the future in FdbValues, you can never own a FdbKeyValue directly, you can only have references to it. This way, you can never obtain a lifetime greater than the lifetime of the slice that gave you access to it.
Implementations§
Trait Implementations§
Source§impl AsRef<FdbKeyValue> for FdbValue
impl AsRef<FdbKeyValue> for FdbValue
Source§fn as_ref(&self) -> &FdbKeyValue
fn as_ref(&self) -> &FdbKeyValue
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Debug for FdbKeyValue
impl Debug for FdbKeyValue
Source§impl PartialEq for FdbKeyValue
impl PartialEq for FdbKeyValue
impl Eq for FdbKeyValue
Auto Trait Implementations§
impl Freeze for FdbKeyValue
impl RefUnwindSafe for FdbKeyValue
impl !Send for FdbKeyValue
impl !Sync for FdbKeyValue
impl Unpin for FdbKeyValue
impl UnwindSafe for FdbKeyValue
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