Enum hermes_cli_framework::output::Result
source · pub enum Result {
Json(Value),
Text(String),
Value(Box<dyn Debug + Send + Sync + 'static>),
Nothing,
}Expand description
The result to display before quitting, can either be a JSON value, some plain text, a value to print with its Debug instance, or nothing.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Result
impl !RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl !UnwindSafe for Result
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