pub enum TaskOutput {
Text(String),
Binary(Vec<u8>),
Json(String),
None,
}
Expand description
Task output variants
Variants§
Text(String)
Text output
Binary(Vec<u8>)
Binary output
Json(String)
JSON output (as string)
None
No output
Trait Implementations§
Source§impl Clone for TaskOutput
impl Clone for TaskOutput
Source§fn clone(&self) -> TaskOutput
fn clone(&self) -> TaskOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TaskOutput
impl Debug for TaskOutput
Source§impl From<&str> for TaskOutput
impl From<&str> for TaskOutput
Source§impl From<String> for TaskOutput
impl From<String> for TaskOutput
Auto Trait Implementations§
impl Freeze for TaskOutput
impl RefUnwindSafe for TaskOutput
impl Send for TaskOutput
impl Sync for TaskOutput
impl Unpin for TaskOutput
impl UnwindSafe for TaskOutput
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