Struct cargo::core::shell::Shell
[−]
[src]
pub struct Shell { // some fields omitted }
pub struct Shell { // some fields omitted }
impl Shell
fn create(out: Box<Write + Send>, config: ShellConfig) -> Shell
fn set_color_config(&mut self, color_config: ColorConfig)
fn say<T: ToString>(&mut self, message: T, color: Color) -> Result<()>
fn say_status<T, U>(&mut self, status: T, message: U, color: Color) -> Result<()> where T: Display, U: Display
impl Write for Shell
fn write(&mut self, buf: &[u8]) -> Result<usize>
fn flush(&mut self) -> Result<()>
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
fn by_ref(&mut self) -> &mut Self
fn broadcast<W>(self, other: W) -> Broadcast<Self, W> where W: Write