[−][src]Struct snowchains::shell::Shell
Fields
stdin: TtyOrPiped<R>
stdout: W1
stderr: W2
stderr_tty: bool
stdin_process_redirection: fn() -> Stdio
stdout_process_redirection: fn() -> Stdio
stderr_process_redirection: fn() -> Stdio
Implementations
impl<'a> Shell<StdinLock<'a>, BufferedStandardStream, BufferedStandardStream>
[src]
pub fn new(stdin: &'a Stdin, color: ColorChoice) -> Self
[src]
Trait Implementations
impl<R, W1, W2: WriteColor> Shell for Shell<R, W1, W2>
[src]
fn progress_draw_target(&self) -> ProgressDrawTarget
[src]
fn print_ansi(&mut self, message: &[u8]) -> Result<()>
[src]
fn warn<T: Display>(&mut self, message: T) -> Result<()>
[src]
fn on_request(&mut self, req: &Request) -> Result<()>
[src]
fn on_response(
&mut self,
res: &Response,
status_code_color: StatusCodeColor
) -> Result<()>
[src]
&mut self,
res: &Response,
status_code_color: StatusCodeColor
) -> Result<()>
Auto Trait Implementations
impl<R, W1, W2> RefUnwindSafe for Shell<R, W1, W2> where
R: RefUnwindSafe,
W1: RefUnwindSafe,
W2: RefUnwindSafe,
R: RefUnwindSafe,
W1: RefUnwindSafe,
W2: RefUnwindSafe,
impl<R, W1, W2> Send for Shell<R, W1, W2> where
R: Send,
W1: Send,
W2: Send,
R: Send,
W1: Send,
W2: Send,
impl<R, W1, W2> Sync for Shell<R, W1, W2> where
R: Sync,
W1: Sync,
W2: Sync,
R: Sync,
W1: Sync,
W2: Sync,
impl<R, W1, W2> Unpin for Shell<R, W1, W2> where
R: Unpin,
W1: Unpin,
W2: Unpin,
R: Unpin,
W1: Unpin,
W2: Unpin,
impl<R, W1, W2> UnwindSafe for Shell<R, W1, W2> where
R: UnwindSafe,
W1: UnwindSafe,
W2: UnwindSafe,
R: UnwindSafe,
W1: UnwindSafe,
W2: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedAs for T
[src]
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OverflowingAs for T
[src]
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatingAs for T
[src]
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WrappingAs for T
[src]
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,