Struct chandeliers_err::AccScope
source · pub struct AccScope<'a> { /* private fields */ }Expand description
Error scope to fail if one of several computations failed.
Usage example:
for e in &es {
foo(acc, e)?;
}
will only try to execute foo until it reaches the first error.
Subsequent elements will not be handled.
If instead we wish to execute them all we can do
Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AccScope<'a>
impl<'a> !Send for AccScope<'a>
impl<'a> !Sync for AccScope<'a>
impl<'a> Unpin for AccScope<'a>
impl<'a> !UnwindSafe for AccScope<'a>
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