pub enum OutputSink {
Writer(Box<dyn Write + Send>),
File(PathBuf),
Memory,
}Expand description
Canonical output abstraction
Variants§
Auto Trait Implementations§
impl Freeze for OutputSink
impl !RefUnwindSafe for OutputSink
impl Send for OutputSink
impl !Sync for OutputSink
impl Unpin for OutputSink
impl UnsafeUnpin for OutputSink
impl !UnwindSafe for OutputSink
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