pub struct PayloadAdapter;Expand description
Adapter that bridges Payload through the opaque field contract.
Trait Implementations§
Source§impl FacetOpaqueAdapter for PayloadAdapter
impl FacetOpaqueAdapter for PayloadAdapter
Source§fn serialize_map(value: &Self::SendValue<'_>) -> OpaqueSerialize
fn serialize_map(value: &Self::SendValue<'_>) -> OpaqueSerialize
Outgoing path: map typed value to erased serialization inputs.
Source§fn deserialize_build<'de>(
input: OpaqueDeserialize<'de>,
) -> Result<Self::RecvValue<'de>, Self::Error>
fn deserialize_build<'de>( input: OpaqueDeserialize<'de>, ) -> Result<Self::RecvValue<'de>, Self::Error>
Incoming path: build deferred payload representation.
Auto Trait Implementations§
impl Freeze for PayloadAdapter
impl RefUnwindSafe for PayloadAdapter
impl Send for PayloadAdapter
impl Sync for PayloadAdapter
impl Unpin for PayloadAdapter
impl UnsafeUnpin for PayloadAdapter
impl UnwindSafe for PayloadAdapter
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