[−][src]Struct cordoba::Reader
Implementations
impl<A: CDBAccess> Reader<A>
[src]
pub fn new(access: A) -> Result<Reader<A>, ReadError>
[src]
pub fn iter(&self) -> impl Iterator<Item = Result<(&[u8], &[u8]), ReadError>>
[src]
pub fn lookup<'k, 'c: 'k>(
&'c self,
key: &'k [u8]
) -> impl Iterator<Item = Result<&'c [u8], ReadError>> + 'k
[src]
&'c self,
key: &'k [u8]
) -> impl Iterator<Item = Result<&'c [u8], ReadError>> + 'k
pub fn get<'c, 'k>(
&'c self,
key: &'k [u8]
) -> Result<Option<&'c [u8]>, ReadError>
[src]
&'c self,
key: &'k [u8]
) -> Result<Option<&'c [u8]>, ReadError>
Trait Implementations
impl<A> Debug for Reader<A>
[src]
impl<'a, A: CDBAccess> IntoIterator for &'a Reader<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for Reader<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for Reader<A> where
A: Send,
A: Send,
impl<A> Sync for Reader<A> where
A: Sync,
A: Sync,
impl<A> Unpin for Reader<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for Reader<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,