Struct pretty_exec::PrettyExec [−][src]
pub struct PrettyExec<PreLog, PostLog> where
PreLog: Logger,
PostLog: Logger, { pub program: String, pub arguments: Vec<String, Global>, // some fields omitted }
Fields
program: Stringarguments: Vec<String, Global>Implementations
impl<PreLog, PostLog> PrettyExec<PreLog, PostLog> where
PreLog: Logger,
PostLog: Logger, [src]
impl<PreLog, PostLog> PrettyExec<PreLog, PostLog> where
PreLog: Logger,
PostLog: Logger, [src]pub fn arg(&mut self, arg: &str) -> &mut PrettyExec<PreLog, PostLog>[src]
pub fn spawn(&mut self) -> Result<ExitStatus, Error>[src]
pub fn set_log_before<Logger>(
self,
log_before: Logger
) -> PrettyExec<Logger, PostLog> where
Logger: Logger, [src]
self,
log_before: Logger
) -> PrettyExec<Logger, PostLog> where
Logger: Logger,
pub fn set_log_after<Logger>(
self,
log_after: Logger
) -> PrettyExec<PreLog, Logger> where
Logger: Logger, [src]
self,
log_after: Logger
) -> PrettyExec<PreLog, Logger> where
Logger: Logger,
impl PrettyExec<Nothing, Nothing>[src]
impl PrettyExec<Nothing, Nothing>[src]Auto Trait Implementations
impl<PreLog, PostLog> !RefUnwindSafe for PrettyExec<PreLog, PostLog>
impl<PreLog, PostLog> Send for PrettyExec<PreLog, PostLog> where
PostLog: Send,
PreLog: Send,
PostLog: Send,
PreLog: Send,
impl<PreLog, PostLog> Sync for PrettyExec<PreLog, PostLog> where
PostLog: Sync,
PreLog: Sync,
PostLog: Sync,
PreLog: Sync,
impl<PreLog, PostLog> Unpin for PrettyExec<PreLog, PostLog> where
PostLog: Unpin,
PreLog: Unpin,
PostLog: Unpin,
PreLog: Unpin,
impl<PreLog, PostLog> !UnwindSafe for PrettyExec<PreLog, PostLog>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<X> Pipe for X
impl<X> Pipe for Ximpl<X> Pipe for X
impl<X> Pipe for Xfn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
fn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return, Apply f to self. Read more
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return, Apply f to &self. Read more
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return, Apply f to &mut self. Read more
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return, Apply f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read more
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return where
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return, Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read more
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return, Apply f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Param>. Read more
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Return where
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return, Apply f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Param>. Read more