Struct expry::LazyDecodedObject
source · pub struct LazyDecodedObject<'a> { /* private fields */ }
Implementations§
source§impl<'a> LazyDecodedObject<'a>
impl<'a> LazyDecodedObject<'a>
pub fn lookup_binary( &self, key: Key<'_> ) -> Result<Option<EncodedValueRef<'a>>, EncodingError>
pub fn lookup_value( &self, key: Key<'_> ) -> Result<Option<LazyDecodedValue<'a>>, EncodingError>
pub fn lookup_decoded_value( &self, key: Key<'_> ) -> Result<Option<DecodedValue<'a>>, EncodingError>
pub fn get(&mut self) -> Result<(Key<'a>, LazyDecodedValue<'a>), EncodingError>
pub fn get_raw( &mut self ) -> Result<(Key<'a>, EncodedValueRef<'a>), EncodingError>
pub fn is_empty(&mut self) -> Result<bool, EncodingError>
pub fn new(reader: RawReader<'a>) -> Self
Trait Implementations§
source§impl<'a> Clone for LazyDecodedObject<'a>
impl<'a> Clone for LazyDecodedObject<'a>
source§fn clone(&self) -> LazyDecodedObject<'a>
fn clone(&self) -> LazyDecodedObject<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> PartialEq<LazyDecodedObject<'a>> for LazyDecodedObject<'a>
impl<'a> PartialEq<LazyDecodedObject<'a>> for LazyDecodedObject<'a>
source§fn eq(&self, other: &LazyDecodedObject<'a>) -> bool
fn eq(&self, other: &LazyDecodedObject<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.