[][src]Trait snowchains_core::web::Shell

pub trait Shell {
    fn progress_draw_target(&self) -> ProgressDrawTarget { ... }
fn print_ansi(&mut self, _message: &[u8]) -> Result<()> { ... }
fn warn<T: Display>(&mut self, _message: T) -> Result<()> { ... }
fn on_request(&mut self, _request: &Request) -> Result<()> { ... }
fn on_response(
        &mut self,
        _response: &Response,
        _status_code_color: StatusCodeColor
    ) -> Result<()> { ... } }

Provided methods

fn progress_draw_target(&self) -> ProgressDrawTarget

fn print_ansi(&mut self, _message: &[u8]) -> Result<()>

fn warn<T: Display>(&mut self, _message: T) -> Result<()>

fn on_request(&mut self, _request: &Request) -> Result<()>

fn on_response(
    &mut self,
    _response: &Response,
    _status_code_color: StatusCodeColor
) -> Result<()>

Loading content...

Implementations on Foreign Types

impl<S: Shell, '_> Shell for &'_ mut S[src]

impl<S: Shell> Shell for RefCell<S>[src]

impl<S: Shell, '_> Shell for &'_ RefCell<S>[src]

Loading content...

Implementors

Loading content...