pub enum ReporterOutput {
Stdout(String),
Artifact {
path: PathBuf,
bytes: Vec<u8>,
},
Remote {
backend: String,
identifier: String,
},
}Expand description
Output produced by a Reporter::render call.
The three variants cover the common delivery channels:
Variants§
Stdout(String)
Plain text suitable for stdout or a log line.
Artifact
A byte artifact to write at the given path.
Fields
Remote
A remote push result, identified by backend + opaque id.
Trait Implementations§
Source§impl Clone for ReporterOutput
impl Clone for ReporterOutput
Source§fn clone(&self) -> ReporterOutput
fn clone(&self) -> ReporterOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReporterOutput
impl RefUnwindSafe for ReporterOutput
impl Send for ReporterOutput
impl Sync for ReporterOutput
impl Unpin for ReporterOutput
impl UnsafeUnpin for ReporterOutput
impl UnwindSafe for ReporterOutput
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