pub struct ConsoleOutput { /* private fields */ }Expand description
Print snapshots as formatted JSON or as flattened individual values.
Implementations§
Source§impl ConsoleOutput
impl ConsoleOutput
pub const fn new(format: OutputFormat) -> Self
Trait Implementations§
Source§impl Clone for ConsoleOutput
impl Clone for ConsoleOutput
impl Copy for ConsoleOutput
Source§impl Debug for ConsoleOutput
impl Debug for ConsoleOutput
Source§impl<S> Output<S> for ConsoleOutput
impl<S> Output<S> for ConsoleOutput
fn publish<'life0, 'life1, 'async_trait>(
&'life0 mut self,
snapshot: &'life1 S,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn hardware_status<'life0, 'async_trait>(
&'life0 mut self,
_status: HardwareStatus,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Forget for ConsoleOutput
impl Freeze for ConsoleOutput
impl Move for ConsoleOutput
impl RefUnwindSafe for ConsoleOutput
impl Send for ConsoleOutput
impl Sync for ConsoleOutput
impl Unpin for ConsoleOutput
impl UnsafeUnpin for ConsoleOutput
impl UnwindSafe for ConsoleOutput
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