pub struct ErrorOccurred(/* private fields */);
Expand description
An error list writer that only notes that an error occurred
ErrorOccurred::as_bool will return true
if the subfunction encountered a non-fatal error
false
otherwise
Implementations§
Trait Implementations§
Source§impl Clone for ErrorOccurred
impl Clone for ErrorOccurred
Source§fn clone(&self) -> ErrorOccurred
fn clone(&self) -> ErrorOccurred
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ErrorOccurred
impl Debug for ErrorOccurred
Source§impl Default for ErrorOccurred
impl Default for ErrorOccurred
Source§fn default() -> ErrorOccurred
fn default() -> ErrorOccurred
Returns the “default value” for a type. Read more
Source§impl Hash for ErrorOccurred
impl Hash for ErrorOccurred
Source§impl PartialEq for ErrorOccurred
impl PartialEq for ErrorOccurred
Source§impl<E> WriteErrorList<E> for ErrorOccurred
impl<E> WriteErrorList<E> for ErrorOccurred
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
impl Copy for ErrorOccurred
impl Eq for ErrorOccurred
impl StructuralPartialEq for ErrorOccurred
Auto Trait Implementations§
impl Freeze for ErrorOccurred
impl RefUnwindSafe for ErrorOccurred
impl Send for ErrorOccurred
impl Sync for ErrorOccurred
impl Unpin for ErrorOccurred
impl UnwindSafe for ErrorOccurred
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