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 for LazyDecodedObject<'a>
impl<'a> PartialEq 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 ==
.impl<'a> Copy for LazyDecodedObject<'a>
impl<'a> Eq for LazyDecodedObject<'a>
impl<'a> StructuralEq for LazyDecodedObject<'a>
impl<'a> StructuralPartialEq for LazyDecodedObject<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for LazyDecodedObject<'a>
impl<'a> Send for LazyDecodedObject<'a>
impl<'a> Sync for LazyDecodedObject<'a>
impl<'a> Unpin for LazyDecodedObject<'a>
impl<'a> UnwindSafe for LazyDecodedObject<'a>
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