pub enum ConsoleSink {
Discard,
Writer(Box<dyn Write + Send>),
}Expand description
Where the console output goes.
Variants§
Discard
Discard all output.
Writer(Box<dyn Write + Send>)
Append to a host-side Write (stdout, file, FIFO).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConsoleSink
impl !RefUnwindSafe for ConsoleSink
impl Send for ConsoleSink
impl !Sync for ConsoleSink
impl Unpin for ConsoleSink
impl UnsafeUnpin for ConsoleSink
impl !UnwindSafe for ConsoleSink
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