pub struct QueuedWorkRunError {
pub class: QueuedWorkRunErrorClass,
pub error: PluginError,
}Fields§
§class: QueuedWorkRunErrorClass§error: PluginErrorImplementations§
Source§impl QueuedWorkRunError
impl QueuedWorkRunError
pub fn transient(error: PluginError) -> Self
pub fn terminal(error: PluginError) -> Self
Trait Implementations§
Source§impl Clone for QueuedWorkRunError
impl Clone for QueuedWorkRunError
Source§fn clone(&self) -> QueuedWorkRunError
fn clone(&self) -> QueuedWorkRunError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueuedWorkRunError
impl Debug for QueuedWorkRunError
Source§impl Display for QueuedWorkRunError
impl Display for QueuedWorkRunError
Source§impl Error for QueuedWorkRunError
impl Error for QueuedWorkRunError
1.30.0 · 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()
Source§impl From<PluginError> for QueuedWorkRunError
impl From<PluginError> for QueuedWorkRunError
Source§fn from(error: PluginError) -> Self
fn from(error: PluginError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueuedWorkRunError
impl RefUnwindSafe for QueuedWorkRunError
impl Send for QueuedWorkRunError
impl Sync for QueuedWorkRunError
impl Unpin for QueuedWorkRunError
impl UnsafeUnpin for QueuedWorkRunError
impl UnwindSafe for QueuedWorkRunError
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