Struct pretty_exec_lib::pretty_exec::PrettyExec  
source · [−]pub struct PrettyExec<'a, PreLog, PostLog> { /* private fields */ }Implementations
sourceimpl<'a, PreLog, PostLog> PrettyExec<'a, PreLog, PostLog>
 
impl<'a, PreLog, PostLog> PrettyExec<'a, PreLog, PostLog>
pub fn arg(&mut self, arg: &'a OsStr) -> &mut Self
pub fn spawn(&'a mut self) -> Result<ExitStatus> where
    Logger<'a, PreLog, str, OsStr, Vec<&'a OsStr>>: Log,
    Logger<'a, PostLog, str, OsStr, Vec<&'a OsStr>>: Log, 
pub fn set_log_before<Logger>(
    self,
    log_before: Logger
) -> PrettyExec<'a, Logger, PostLog>
pub fn set_log_after<Logger>(
    self,
    log_after: Logger
) -> PrettyExec<'a, PreLog, Logger>
Auto Trait Implementations
impl<'a, PreLog, PostLog> !RefUnwindSafe for PrettyExec<'a, PreLog, PostLog>
impl<'a, PreLog, PostLog> Send for PrettyExec<'a, PreLog, PostLog> where
    PostLog: Send,
    PreLog: Send, 
impl<'a, PreLog, PostLog> Sync for PrettyExec<'a, PreLog, PostLog> where
    PostLog: Sync,
    PreLog: Sync, 
impl<'a, PreLog, PostLog> Unpin for PrettyExec<'a, PreLog, PostLog> where
    PostLog: Unpin,
    PreLog: Unpin, 
impl<'a, PreLog, PostLog> !UnwindSafe for PrettyExec<'a, PreLog, PostLog>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<X> Pipe for X
 
impl<X> Pipe for X
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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
sourcefn 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<Target = Param>. Read more
sourcefn 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<Target = Param>]. Read more
sourcefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
    Self: Borrow<Param>,
    Param: 'a + ?Sized,
    Function: FnOnce(&'a Param) -> Return, 
 
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
    Self: Borrow<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 Borrow<Param>. Read more
sourcefn pipe_borrow_mut<'a, Param, Return, Function>(
    &'a mut self,
    f: Function
) -> Return where
    Self: BorrowMut<Param>,
    Param: 'a + ?Sized,
    Function: FnOnce(&'a mut Param) -> Return, 
 
fn pipe_borrow_mut<'a, Param, Return, Function>(
    &'a mut self,
    f: Function
) -> Return where
    Self: BorrowMut<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 BorrowMut<Param>. Read more