pub enum IoStream {
Stdin,
Stdout,
Stderr,
Tty,
Rows(u16),
Cols(u16),
}Variants§
Stdin
Stdout
Stderr
Tty
Bare tty flag: run the wrapped RUN step under a pseudo-terminal.
Takes no pipe (tty = $x is a parse error); the master carries one
interleaved stream, so stderr bindings alongside it are rejected.
Rows(u16)
rows = <int> terminal height. Requires tty; rejected without it.
Cols(u16)
cols = <int> terminal width. Requires tty; rejected without it.
Implementations§
Trait Implementations§
impl Copy for IoStream
impl Eq for IoStream
impl StructuralPartialEq for IoStream
Auto Trait Implementations§
impl Forget for IoStream
impl Freeze for IoStream
impl Move for IoStream
impl RefUnwindSafe for IoStream
impl Send for IoStream
impl Sync for IoStream
impl Unpin for IoStream
impl UnsafeUnpin for IoStream
impl UnwindSafe for IoStream
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