pub struct InvalidBuilderState {
pub kind: InvalidBuilderStateKind,
pub builder: &'static str,
pub method: &'static str,
}Expand description
Error returned when a job builder method is called in an invalid state.
Fields§
§kind: InvalidBuilderStateKind§builder: &'static str§method: &'static strTrait Implementations§
Source§impl Clone for InvalidBuilderState
impl Clone for InvalidBuilderState
Source§fn clone(&self) -> InvalidBuilderState
fn clone(&self) -> InvalidBuilderState
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 moreimpl Copy for InvalidBuilderState
Source§impl Debug for InvalidBuilderState
impl Debug for InvalidBuilderState
Source§impl Display for InvalidBuilderState
impl Display for InvalidBuilderState
impl Eq for InvalidBuilderState
Source§impl Error for InvalidBuilderState
impl Error for InvalidBuilderState
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<InvalidBuilderState> for Error
impl From<InvalidBuilderState> for Error
Source§fn from(source: InvalidBuilderState) -> Self
fn from(source: InvalidBuilderState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidBuilderState
impl PartialEq for InvalidBuilderState
Source§fn eq(&self, other: &InvalidBuilderState) -> bool
fn eq(&self, other: &InvalidBuilderState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InvalidBuilderState
Auto Trait Implementations§
impl Freeze for InvalidBuilderState
impl RefUnwindSafe for InvalidBuilderState
impl Send for InvalidBuilderState
impl Sync for InvalidBuilderState
impl Unpin for InvalidBuilderState
impl UnsafeUnpin for InvalidBuilderState
impl UnwindSafe for InvalidBuilderState
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