#[non_exhaustive]pub struct StateError {
pub details: String,
pub type: Type,
/* private fields */
}Expand description
Describes an error related to the current state of the Execution resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.details: StringProvides specifics about the error.
type: TypeThe type of this state error.
Implementations§
Source§impl StateError
impl StateError
Trait Implementations§
Source§impl Clone for StateError
impl Clone for StateError
Source§fn clone(&self) -> StateError
fn clone(&self) -> StateError
Returns a duplicate of the value. Read more
1.0.0 · 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 StateError
impl Debug for StateError
Source§impl Default for StateError
impl Default for StateError
Source§fn default() -> StateError
fn default() -> StateError
Returns the “default value” for a type. Read more
Source§impl PartialEq for StateError
impl PartialEq for StateError
impl StructuralPartialEq for StateError
Auto Trait Implementations§
impl Freeze for StateError
impl RefUnwindSafe for StateError
impl Send for StateError
impl Sync for StateError
impl Unpin for StateError
impl UnwindSafe for StateError
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