pub struct SerializedValueInto {
pub dest: Option<String>,
pub payload: SerializedPayload,
}Expand description
One serialized record produced into caller-owned scratch storage or an owned fallback.
No reference escapes the async reader call. The pump validates len, then
borrows its own scratch buffer only for the subsequent publish().await.
Fields§
§dest: Option<String>Dynamic destination resolved while the typed record was available.
payload: SerializedPayloadScratch prefix metadata or an owned compatibility payload.
Trait Implementations§
Source§impl Clone for SerializedValueInto
impl Clone for SerializedValueInto
Source§fn clone(&self) -> SerializedValueInto
fn clone(&self) -> SerializedValueInto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SerializedValueInto
impl Debug for SerializedValueInto
impl Eq for SerializedValueInto
Source§impl PartialEq for SerializedValueInto
impl PartialEq for SerializedValueInto
impl StructuralPartialEq for SerializedValueInto
Auto Trait Implementations§
impl Freeze for SerializedValueInto
impl RefUnwindSafe for SerializedValueInto
impl Send for SerializedValueInto
impl Sync for SerializedValueInto
impl Unpin for SerializedValueInto
impl UnsafeUnpin for SerializedValueInto
impl UnwindSafe for SerializedValueInto
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