Struct aldrin_core::SetSerializer
source · pub struct SetSerializer<'a, T: SerializeKey + ?Sized> { /* private fields */ }
Implementations§
source§impl<'a, T: SerializeKey + ?Sized> SetSerializer<'a, T>
impl<'a, T: SerializeKey + ?Sized> SetSerializer<'a, T>
pub fn remaining_elements(&self) -> usize
pub fn requires_additional_elements(&self) -> bool
pub fn serialize_element( &mut self, value: &T ) -> Result<&mut Self, SerializeError>
pub fn finish(self) -> Result<(), SerializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T: ?Sized> Freeze for SetSerializer<'a, T>
impl<'a, T: ?Sized> RefUnwindSafe for SetSerializer<'a, T>where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for SetSerializer<'a, T>where
T: Send,
impl<'a, T: ?Sized> Sync for SetSerializer<'a, T>where
T: Sync,
impl<'a, T: ?Sized> Unpin for SetSerializer<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for SetSerializer<'a, 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