pub enum SkillResolutionFailureReason {
NotFound {
key: SkillKey,
},
CapabilityUnavailable {
key: SkillKey,
capability: CapabilityId,
},
Load {
message: String,
},
Parse {
message: String,
},
SourceUuidCollision {
source_uuid: String,
existing_fingerprint: String,
new_fingerprint: String,
},
SourceUuidMutationWithoutLineage {
fingerprint: String,
existing_source_uuid: String,
mutated_source_uuid: String,
},
MissingSkillRemaps {
event_id: String,
event_kind: String,
},
RemapWithoutLineage {
from_source_uuid: String,
from_skill_name: String,
to_source_uuid: String,
to_skill_name: String,
},
UnknownSkillAlias {
alias: String,
},
RemapCycle {
source_uuid: String,
skill_name: String,
},
Unknown {
message: String,
},
}Variants§
NotFound
Load
Parse
SourceUuidCollision
SourceUuidMutationWithoutLineage
MissingSkillRemaps
RemapWithoutLineage
Fields
UnknownSkillAlias
RemapCycle
Unknown
Implementations§
Source§impl SkillResolutionFailureReason
impl SkillResolutionFailureReason
pub fn from_skill_error(error: &SkillError) -> Self
Trait Implementations§
Source§impl Clone for SkillResolutionFailureReason
impl Clone for SkillResolutionFailureReason
Source§fn clone(&self) -> SkillResolutionFailureReason
fn clone(&self) -> SkillResolutionFailureReason
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 SkillResolutionFailureReason
impl Debug for SkillResolutionFailureReason
Source§impl<'de> Deserialize<'de> for SkillResolutionFailureReason
impl<'de> Deserialize<'de> for SkillResolutionFailureReason
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&SkillError> for SkillResolutionFailureReason
impl From<&SkillError> for SkillResolutionFailureReason
Source§fn from(error: &SkillError) -> Self
fn from(error: &SkillError) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for SkillResolutionFailureReason
impl JsonSchema for SkillResolutionFailureReason
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SkillResolutionFailureReason
impl PartialEq for SkillResolutionFailureReason
Source§fn eq(&self, other: &SkillResolutionFailureReason) -> bool
fn eq(&self, other: &SkillResolutionFailureReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SkillResolutionFailureReason
impl StructuralPartialEq for SkillResolutionFailureReason
Auto Trait Implementations§
impl Freeze for SkillResolutionFailureReason
impl RefUnwindSafe for SkillResolutionFailureReason
impl Send for SkillResolutionFailureReason
impl Sync for SkillResolutionFailureReason
impl Unpin for SkillResolutionFailureReason
impl UnsafeUnpin for SkillResolutionFailureReason
impl UnwindSafe for SkillResolutionFailureReason
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.