pub enum AsyncResourceValidationError {
Show 15 variants
EmptyId,
IdTooLong,
InvalidId,
EmptyText,
TextTooLong,
TextControl,
EmptyLink,
LinkTooLong,
InvalidLink,
InvalidTimestamp,
TimestampOrder,
TerminalTimeMismatch,
TooManyProgressSteps,
TooManyErrors,
TooManyEvents,
}Expand description
Invalid asynchronous task or event data.
Variants§
EmptyId
An identifier was empty.
IdTooLong
An identifier exceeded its hard byte bound.
InvalidId
An identifier was not visible ASCII.
EmptyText
A text field was empty.
TextTooLong
A text field exceeded its hard byte bound.
TextControl
A text field contained a control character.
EmptyLink
A link field was empty.
LinkTooLong
A link exceeded its hard byte bound.
InvalidLink
A link contained whitespace or a control character.
InvalidTimestamp
A timestamp was outside the strict UTC nanosecond RFC 3339 subset.
TimestampOrder
Task timestamps contradicted their lifecycle ordering.
TerminalTimeMismatch
A terminal task omitted completion time or a running task supplied it.
TooManyProgressSteps
A task contained too many progress steps.
TooManyErrors
A task contained too many errors.
TooManyEvents
An event batch contained too many events.
Trait Implementations§
Source§impl Clone for AsyncResourceValidationError
impl Clone for AsyncResourceValidationError
Source§fn clone(&self) -> AsyncResourceValidationError
fn clone(&self) -> AsyncResourceValidationError
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 AsyncResourceValidationError
Source§impl Debug for AsyncResourceValidationError
impl Debug for AsyncResourceValidationError
impl Eq for AsyncResourceValidationError
Source§impl Error for AsyncResourceValidationError
impl Error for AsyncResourceValidationError
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()
impl StructuralPartialEq for AsyncResourceValidationError
Auto Trait Implementations§
impl Freeze for AsyncResourceValidationError
impl RefUnwindSafe for AsyncResourceValidationError
impl Send for AsyncResourceValidationError
impl Sync for AsyncResourceValidationError
impl Unpin for AsyncResourceValidationError
impl UnsafeUnpin for AsyncResourceValidationError
impl UnwindSafe for AsyncResourceValidationError
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