pub struct DontCare;
Expand description
An error list writer that ignores errors
Any call to WriteErrorList::push does nothing but drop the given error.
Trait Implementations§
Source§impl<E> WriteErrorList<E> for DontCare
impl<E> WriteErrorList<E> for DontCare
Source§fn subwriter<'sub, SubMapFn, SubErr: 'sub>(
&'sub mut self,
_map_fn: SubMapFn,
) -> impl WriteErrorList<SubErr> + 'sub
fn subwriter<'sub, SubMapFn, SubErr: 'sub>( &'sub mut self, _map_fn: SubMapFn, ) -> impl WriteErrorList<SubErr> + 'sub
Create a new mapping error writer with this as its parent Read more
Auto Trait Implementations§
impl Freeze for DontCare
impl RefUnwindSafe for DontCare
impl Send for DontCare
impl Sync for DontCare
impl Unpin for DontCare
impl UnwindSafe for DontCare
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more