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