pub struct SerializerSync<'lt> { /* private fields */ }
Expand description
Msgpackin serde SerializerSync
Implementations§
Source§impl<'lt> SerializerSync<'lt>
impl<'lt> SerializerSync<'lt>
Sourcepub fn new<C: Into<DynConsumerSync<'lt>>>(config: Config, consumer: C) -> Self
pub fn new<C: Into<DynConsumerSync<'lt>>>(config: Config, consumer: C) -> Self
Construct a new SerializerSync for given consumer
Sourcepub fn as_ref(&mut self) -> SerializerSyncRef<'_, 'lt>
pub fn as_ref(&mut self) -> SerializerSyncRef<'_, 'lt>
Get the mutable reference that can be used to serialize
Auto Trait Implementations§
impl<'lt> Freeze for SerializerSync<'lt>
impl<'lt> !RefUnwindSafe for SerializerSync<'lt>
impl<'lt> !Send for SerializerSync<'lt>
impl<'lt> !Sync for SerializerSync<'lt>
impl<'lt> Unpin for SerializerSync<'lt>
impl<'lt> !UnwindSafe for SerializerSync<'lt>
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