Enum wick_config::error::ReferenceError
source · pub enum ReferenceError {
Component,
Types,
Resource,
ResourceType {
expected: ResourceKind,
actual: ResourceKind,
},
}Expand description
Errors that can occur when trying to dereference a configuration name or id.
Variants§
Component
The referenced item was not a component.
Types
The referenced item was not an imported types configuration.
Resource
The referenced item was not a resource.
ResourceType
Fields
§
expected: ResourceKindThe expected resource type.
§
actual: ResourceKindThe actual resource type.
The resource was not the requested type.
Trait Implementations§
source§impl Clone for ReferenceError
impl Clone for ReferenceError
source§fn clone(&self) -> ReferenceError
fn clone(&self) -> ReferenceError
Returns a copy of the value. Read more
1.0.0 · 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 ReferenceError
impl Debug for ReferenceError
source§impl Display for ReferenceError
impl Display for ReferenceError
source§impl Error for ReferenceError
impl Error for ReferenceError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ReferenceError> for ManifestError
impl From<ReferenceError> for ManifestError
source§fn from(source: ReferenceError) -> Self
fn from(source: ReferenceError) -> Self
Converts to this type from the input type.
impl Copy for ReferenceError
Auto Trait Implementations§
impl RefUnwindSafe for ReferenceError
impl Send for ReferenceError
impl Sync for ReferenceError
impl Unpin for ReferenceError
impl UnwindSafe for ReferenceError
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