pub struct Output(/* private fields */);
Expand description
Either a file or stdout.
Implementations§
Source§impl Output
impl Output
Sourcepub fn open_stdout(self) -> Result<StdoutLock<'static>, Self>
pub fn open_stdout(self) -> Result<StdoutLock<'static>, Self>
Open the output as stdout.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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