[][src]Struct rocks::types::FullKey

pub struct FullKey<'a> { /* fields omitted */ }

<user key, sequence number, and entry type> tuple.

Implementations

impl<'_> FullKey<'_>[src]

pub fn new<'b>(u: &'b [u8], seq: SequenceNumber, t: EntryType) -> FullKey<'b>[src]

pub fn parse<'b>(internal_key: &'b [u8]) -> Option<FullKey<'b>>[src]

Parse slice representing internal key to FullKey Parsed FullKey is valid for as long as the memory pointed to by internal_key is alive.

Trait Implementations

impl<'_> Debug for FullKey<'_>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for FullKey<'a>

impl<'a> Send for FullKey<'a>

impl<'a> Sync for FullKey<'a>

impl<'a> Unpin for FullKey<'a>

impl<'a> UnwindSafe for FullKey<'a>

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.