Enum heed_types::DecodeIgnore
source · pub enum DecodeIgnore {}
Expand description
A convenient struct made to ignore the type when decoding it.
For example, it is appropriate to be used to count keys or to ensure that an entry exists.
Trait Implementations§
source§impl BytesDecode<'_> for DecodeIgnore
impl BytesDecode<'_> for DecodeIgnore
source§fn bytes_decode(_bytes: &[u8]) -> Result<Self::DItem, BoxedError>
fn bytes_decode(_bytes: &[u8]) -> Result<Self::DItem, BoxedError>
Decode the given bytes as
DItem
.Auto Trait Implementations§
impl Freeze for DecodeIgnore
impl RefUnwindSafe for DecodeIgnore
impl Send for DecodeIgnore
impl Sync for DecodeIgnore
impl Unpin for DecodeIgnore
impl UnwindSafe for DecodeIgnore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more