#[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
Sourcepub fn set_details<T: Into<String>>(self, v: T) -> Self
pub fn set_details<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for StateError
impl Clone for StateError
Source§impl Debug for StateError
impl Debug for StateError
Source§impl Default for StateError
impl Default for StateError
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 UnsafeUnpin 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