pub enum RunnerResolveError {
UnknownRunnerRef {
agent: String,
ref_name: String,
available: Vec<String>,
},
UnknownDefaultRunner {
ref_name: String,
available: Vec<String>,
},
}Expand description
Everything resolve_runner can fail with: an AgentDef.runner_ref
/ Blueprint.default_runner reference that names no entry in
Blueprint.runners.
Variants§
UnknownRunnerRef
AgentDef.runner_ref names a RunnerDef::name absent from
Blueprint.runners.
Fields
UnknownDefaultRunner
Blueprint.default_runner names a RunnerDef::name absent from
Blueprint.runners.
Trait Implementations§
Source§impl Clone for RunnerResolveError
impl Clone for RunnerResolveError
Source§fn clone(&self) -> RunnerResolveError
fn clone(&self) -> RunnerResolveError
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 RunnerResolveError
impl Debug for RunnerResolveError
Source§impl Display for RunnerResolveError
impl Display for RunnerResolveError
impl Eq for RunnerResolveError
Source§impl Error for RunnerResolveError
impl Error for RunnerResolveError
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 PartialEq for RunnerResolveError
impl PartialEq for RunnerResolveError
impl StructuralPartialEq for RunnerResolveError
Auto Trait Implementations§
impl Freeze for RunnerResolveError
impl RefUnwindSafe for RunnerResolveError
impl Send for RunnerResolveError
impl Sync for RunnerResolveError
impl Unpin for RunnerResolveError
impl UnsafeUnpin for RunnerResolveError
impl UnwindSafe for RunnerResolveError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> ExternalError for E
impl<E> ExternalError for E
fn into_lua_err(self) -> Error
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