[][src]Struct pearl::Entry

pub struct Entry { /* fields omitted */ }

Entry is a Future, which contains header and metadata of the record, but does not contain all of the data in memory.

If you searching for the records with particular meta, you don't need to load full record. When you've found entry with required meta, call load to get body.

Implementations

impl Entry[src]

pub async fn load<'_>(&'_ self) -> AnyResult<Vec<u8>>[src]

Returns record data

Errors

Returns the error type for I/O operations, see std::io::Error

Trait Implementations

impl Debug for Entry[src]

Auto Trait Implementations

impl !RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl !UnwindSafe for Entry

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>,