pub struct AbortError { /* private fields */ }Expand description
Execution should be aborted This signifies that the task should not be retried
Implementations§
Source§impl AbortError
impl AbortError
Sourcepub fn new<E: Into<BoxDynError>>(err: E) -> Self
pub fn new<E: Into<BoxDynError>>(err: E) -> Self
Create a new abort error
Trait Implementations§
Source§impl Debug for AbortError
impl Debug for AbortError
Source§impl Display for AbortError
impl Display for AbortError
Source§impl Error for AbortError
impl Error for AbortError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AbortError
impl !RefUnwindSafe for AbortError
impl Send for AbortError
impl Sync for AbortError
impl Unpin for AbortError
impl !UnwindSafe for AbortError
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