pub struct BreakError;Expand description
This error is thrown when a break statement is executed. Since errors are propagated up the execution stack, the interpreter can catch it and break out of the current loop.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BreakError
impl RefUnwindSafe for BreakError
impl Send for BreakError
impl Sync for BreakError
impl Unpin for BreakError
impl UnwindSafe for BreakError
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