Struct aldrin_core::VecDeserializer
source · pub struct VecDeserializer<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> VecDeserializer<'a, 'b>
impl<'a, 'b> VecDeserializer<'a, 'b>
pub fn remaining_elements(&self) -> usize
pub fn has_more_elements(&self) -> bool
pub fn deserialize_element<T>(&mut self) -> Result<T, DeserializeError>where
T: Deserialize,
pub fn deserialize_extend<V, T>(
self,
vec: &mut V
) -> Result<(), DeserializeError>where
V: Extend<T>,
T: Deserialize,
pub fn skip_element(&mut self) -> Result<(), DeserializeError>
pub fn skip(self) -> Result<(), DeserializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for VecDeserializer<'a, 'b>
impl<'a, 'b> RefUnwindSafe for VecDeserializer<'a, 'b>
impl<'a, 'b> Send for VecDeserializer<'a, 'b>
impl<'a, 'b> Sync for VecDeserializer<'a, 'b>
impl<'a, 'b> Unpin for VecDeserializer<'a, 'b>
impl<'a, 'b> !UnwindSafe for VecDeserializer<'a, 'b>
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