pub struct AnyTaskOutput {
pub metadata: Bytes,
pub output: Bytes,
pub serializer: Serializer,
}
Expand description
Serialized output of a Task
.
Fields§
§metadata: Bytes
Serialized metadata associated with the Task
.
output: Bytes
Serialized output of the Operation
execution.
serializer: Serializer
The Serializer
used to serialize and deserialize the Operation
.
Trait Implementations§
Source§impl Debug for AnyTaskOutput
impl Debug for AnyTaskOutput
Source§impl<'de> Deserialize<'de> for AnyTaskOutput
impl<'de> Deserialize<'de> for AnyTaskOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AnyTaskOutput
impl Serialize for AnyTaskOutput
Source§impl<Op: Operation, Metadata: Serializable> TryFrom<AnyTaskOutput> for TaskOutput<Op, Metadata>
impl<Op: Operation, Metadata: Serializable> TryFrom<AnyTaskOutput> for TaskOutput<Op, Metadata>
Auto Trait Implementations§
impl !Freeze for AnyTaskOutput
impl RefUnwindSafe for AnyTaskOutput
impl Send for AnyTaskOutput
impl Sync for AnyTaskOutput
impl Unpin for AnyTaskOutput
impl UnwindSafe for AnyTaskOutput
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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