Struct aldrin_core::MapDeserializer
source · pub struct MapDeserializer<'a, 'b, K: DeserializeKey> { /* private fields */ }
Implementations§
source§impl<'a, 'b, K: DeserializeKey> MapDeserializer<'a, 'b, K>
impl<'a, 'b, K: DeserializeKey> MapDeserializer<'a, 'b, K>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn deserialize_element( &mut self, ) -> Result<ElementDeserializer<'_, 'b, K>, DeserializeError>
pub fn deserialize_extend<T, V>( self, map: &mut T, ) -> Result<(), DeserializeError>
pub fn skip_element(&mut self) -> Result<(), DeserializeError>
pub fn skip(self) -> Result<(), DeserializeError>
pub fn finish<T>(self, t: T) -> Result<T, DeserializeError>
pub fn finish_with<T, F>(self, f: F) -> Result<T, DeserializeError>
pub fn skip_and_finish<T>(self, t: T) -> Result<T, DeserializeError>
pub fn skip_and_finish_with<T, F>(self, f: F) -> Result<T, DeserializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, K> Freeze for MapDeserializer<'a, 'b, K>
impl<'a, 'b, K> RefUnwindSafe for MapDeserializer<'a, 'b, K>where
K: RefUnwindSafe,
impl<'a, 'b, K> Send for MapDeserializer<'a, 'b, K>where
K: Send,
impl<'a, 'b, K> Sync for MapDeserializer<'a, 'b, K>where
K: Sync,
impl<'a, 'b, K> Unpin for MapDeserializer<'a, 'b, K>where
K: Unpin,
impl<'a, 'b, K> !UnwindSafe for MapDeserializer<'a, 'b, K>
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