[][src]Struct foundationdb::future::FdbKeyValue

#[repr(transparent)]pub struct FdbKeyValue(_);

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

impl FdbKeyValue[src]

pub fn key(&self) -> &[u8][src]

key

pub fn value(&self) -> &[u8][src]

value

Trait Implementations

impl AsRef<FdbKeyValue> for FdbValue[src]

impl Debug for FdbKeyValue[src]

impl Eq for FdbKeyValue[src]

impl PartialEq<FdbKeyValue> for FdbKeyValue[src]

Auto Trait Implementations

impl RefUnwindSafe for FdbKeyValue

impl !Send for FdbKeyValue

impl !Sync for FdbKeyValue

impl Unpin for FdbKeyValue

impl UnwindSafe for FdbKeyValue

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,