Struct parallel_disk_usage::reporter::error_only_reporter::ErrorOnlyReporter [−][src]
pub struct ErrorOnlyReporter<ReportError: Fn(ErrorReport<'_>)> { /* fields omitted */ }
Expand description
Only report errors.
Implementations
impl<ReportError: Fn(ErrorReport<'_>)> ErrorOnlyReporter<ReportError>
[src]
impl<ReportError: Fn(ErrorReport<'_>)> ErrorOnlyReporter<ReportError>
[src]pub fn new(report_error: ReportError) -> Self
[src]
pub fn new(report_error: ReportError) -> Self
[src]Create a new ErrorOnlyReporter
.
Trait Implementations
impl<ReportError: Debug + Fn(ErrorReport<'_>)> Debug for ErrorOnlyReporter<ReportError>
[src]
impl<ReportError: Debug + Fn(ErrorReport<'_>)> Debug for ErrorOnlyReporter<ReportError>
[src]impl<Data, ReportError> ParallelReporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>),
[src]
impl<Data, ReportError> ParallelReporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>),
[src]type DestructionError = ()
type DestructionError = ()
Error type of the destroy
method.
fn destroy(self) -> Result<(), Self::DestructionError>
[src]
fn destroy(self) -> Result<(), Self::DestructionError>
[src]Stop all threads.
impl<Data, ReportError> Reporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>),
[src]
impl<Data, ReportError> Reporter<Data> for ErrorOnlyReporter<ReportError> where
Data: Size,
ReportError: Fn(ErrorReport<'_>),
[src]Auto Trait Implementations
impl<ReportError> RefUnwindSafe for ErrorOnlyReporter<ReportError> where
ReportError: RefUnwindSafe,
ReportError: RefUnwindSafe,
impl<ReportError> Send for ErrorOnlyReporter<ReportError> where
ReportError: Send,
ReportError: Send,
impl<ReportError> Sync for ErrorOnlyReporter<ReportError> where
ReportError: Sync,
ReportError: Sync,
impl<ReportError> Unpin for ErrorOnlyReporter<ReportError> where
ReportError: Unpin,
ReportError: Unpin,
impl<ReportError> UnwindSafe for ErrorOnlyReporter<ReportError> where
ReportError: UnwindSafe,
ReportError: UnwindSafe,
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
[src]
impl<X> Pipe for X
[src]impl<X> Pipe for X
[src]
impl<X> Pipe for X
[src]fn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
[src]
fn pipe<Return, Function>(self, f: Function) -> Return where
Function: FnOnce(Self) -> Return,
[src]Apply f
to self
. Read more
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
[src]
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Return where
Function: FnOnce(&'a Self) -> Return,
[src]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,
[src]
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Return where
Function: FnOnce(&'a mut Self) -> Return,
[src]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,
[src]
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,
[src]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,
[src]
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,
[src]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,
[src]
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,
[src]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,
[src]
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,
[src]Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
[src]
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return where
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
[src]Apply f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Param>
. Read more
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,
[src]
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,
[src]Apply f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait DerefMut<Param>
. Read more
impl<T> Pointable for T
impl<T> Pointable for T