Struct pretty_exec_lib::log::Logger
source · [−]pub struct Logger<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> {
pub method: &'a Method,
pub prompt: &'a Prompt,
pub program: &'a Program,
pub arguments: &'a Arguments,
}
Fields
method: &'a Method
prompt: &'a Prompt
program: &'a Program
arguments: &'a Arguments
Implementations
Trait Implementations
sourceimpl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, GroupClosing, Prompt, Program, Arguments>
impl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, GroupClosing, Prompt, Program, Arguments>
sourceimpl<'a, Fmt, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
impl<'a, Fmt, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
sourceimpl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, SyntaxHighLight, Prompt, Program, Arguments>where
&'a Prompt: AsRef<str>,
&'a Program: AsRef<OsStr>,
&'a Arguments: IntoIterator,
<&'a Arguments as IntoIterator>::Item: AsRef<OsStr>,
impl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Display for Logger<'a, SyntaxHighLight, Prompt, Program, Arguments>where
&'a Prompt: AsRef<str>,
&'a Program: AsRef<OsStr>,
&'a Arguments: IntoIterator,
<&'a Arguments as IntoIterator>::Item: AsRef<OsStr>,
sourceimpl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log for Logger<'a, GroupClosing, Prompt, Program, Arguments>
impl<'a, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log for Logger<'a, GroupClosing, Prompt, Program, Arguments>
sourceimpl<'a, Fmt, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
impl<'a, Fmt, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Log for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
Auto Trait Implementations
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> RefUnwindSafe for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: RefUnwindSafe,
Method: RefUnwindSafe,
Program: RefUnwindSafe,
Prompt: RefUnwindSafe,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Send for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: Sync,
Method: Sync,
Program: Sync,
Prompt: Sync,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Sync for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: Sync,
Method: Sync,
Program: Sync,
Prompt: Sync,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Unpin for Logger<'a, Method, Prompt, Program, Arguments>
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> UnwindSafe for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: RefUnwindSafe,
Method: RefUnwindSafe,
Program: RefUnwindSafe,
Prompt: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
sourcefn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
sourcefn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
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 moresourcefn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Returnwhere
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) -> Returnwhere
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 moresourcefn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
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 moresourcefn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
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
) -> Returnwhere
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 moresourcefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
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 moresourcefn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
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
) -> Returnwhere
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