Struct ord_lmdb_zero::Ignore
source · [−]pub struct Ignore;
Expand description
Empty type used to indicate “don’t care” when reading values from LMDB.
FromLmdbBytes
is implemented for this type by simply returning its only
value without inspecting anything.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ignore
impl Send for Ignore
impl Sync for Ignore
impl Unpin for Ignore
impl UnwindSafe for Ignore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
sourcefn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more