pub struct ErrWriter<W: Write> { /* private fields */ }Implementations
sourceimpl<W: Write> ErrWriter<W>
impl<W: Write> ErrWriter<W>
pub fn handle<T>(&mut self, res: Result<T>) -> Result<Option<T>>
sourcepub fn report_status_standard(
&mut self,
bytes: usize,
start: &SystemTime
) -> Result<()>
pub fn report_status_standard(
&mut self,
bytes: usize,
start: &SystemTime
) -> Result<()>
report status during standard operation
pub fn report_status_block(&mut self, lines: usize, start: &SystemTime)
pub fn report_status_unblock(&mut self, blocks: usize, start: &SystemTime)
Auto Trait Implementations
impl<W> RefUnwindSafe for ErrWriter<W>where
W: RefUnwindSafe,
impl<W> Send for ErrWriter<W>where
W: Send,
impl<W> Sync for ErrWriter<W>where
W: Sync,
impl<W> Unpin for ErrWriter<W>where
W: Unpin,
impl<W> UnwindSafe for ErrWriter<W>where
W: UnwindSafe,
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