pub enum TaskApplicationError {
NoStore,
Store(BlueprintStoreError),
Launch(TaskLaunchError),
InvalidSemver {
label: String,
source: Error,
},
NoMatchingVersion {
req: String,
},
}Expand description
Failure modes of TaskApplication::handle and
TaskApplication::resolve.
Variants§
NoStore
BlueprintRef::Id was used but this TaskApplication was
built via TaskApplication::new_inline_only (no store).
Store(BlueprintStoreError)
The BlueprintStore returned an error while resolving the ref.
Launch(TaskLaunchError)
TaskLaunchService::launch failed after resolution succeeded.
InvalidSemver
A stored version’s version_label is not valid semver.
NoMatchingVersion
No stored version’s label satisfies the SemverReq.
Trait Implementations§
Source§impl Debug for TaskApplicationError
impl Debug for TaskApplicationError
Source§impl Display for TaskApplicationError
impl Display for TaskApplicationError
Source§impl Error for TaskApplicationError
impl Error for TaskApplicationError
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<BlueprintStoreError> for TaskApplicationError
impl From<BlueprintStoreError> for TaskApplicationError
Source§fn from(source: BlueprintStoreError) -> Self
fn from(source: BlueprintStoreError) -> Self
Converts to this type from the input type.
Source§impl From<TaskLaunchError> for TaskApplicationError
impl From<TaskLaunchError> for TaskApplicationError
Source§fn from(source: TaskLaunchError) -> Self
fn from(source: TaskLaunchError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for TaskApplicationError
impl !UnwindSafe for TaskApplicationError
impl Freeze for TaskApplicationError
impl Send for TaskApplicationError
impl Sync for TaskApplicationError
impl Unpin for TaskApplicationError
impl UnsafeUnpin for TaskApplicationError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<E> ExternalError for E
impl<E> ExternalError for E
fn into_lua_err(self) -> Error
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more