pub struct ContinueAsNewOptionsError {
pub field: &'static str,
pub message: String,
}Expand description
A stable validation error raised before a continue-as-new command is emitted.
Fields§
§field: &'static str§message: StringTrait Implementations§
Source§impl Clone for ContinueAsNewOptionsError
impl Clone for ContinueAsNewOptionsError
Source§fn clone(&self) -> ContinueAsNewOptionsError
fn clone(&self) -> ContinueAsNewOptionsError
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 ContinueAsNewOptionsError
impl Debug for ContinueAsNewOptionsError
Source§impl Display for ContinueAsNewOptionsError
impl Display for ContinueAsNewOptionsError
impl Eq for ContinueAsNewOptionsError
Source§impl Error for ContinueAsNewOptionsError
impl Error for ContinueAsNewOptionsError
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<ContinueAsNewOptionsError> for Error
impl From<ContinueAsNewOptionsError> for Error
Source§fn from(source: ContinueAsNewOptionsError) -> Self
fn from(source: ContinueAsNewOptionsError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ContinueAsNewOptionsError
Auto Trait Implementations§
impl Freeze for ContinueAsNewOptionsError
impl RefUnwindSafe for ContinueAsNewOptionsError
impl Send for ContinueAsNewOptionsError
impl Sync for ContinueAsNewOptionsError
impl Unpin for ContinueAsNewOptionsError
impl UnsafeUnpin for ContinueAsNewOptionsError
impl UnwindSafe for ContinueAsNewOptionsError
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