pub enum TargetError {
JsonParseError(Rc<str>),
DeserializationError(Rc<str>),
DuplicateConstantValue(Rc<str>),
MultipleDefaultSchemas(Rc<str>),
EmptyResourceSchemas(Rc<str>),
EmptyEffectSchemas(Rc<str>),
}Available on crate feature
azure_policy only.Expand description
Error type for target parsing operations.
Variants§
JsonParseError(Rc<str>)
JSON parsing error
DeserializationError(Rc<str>)
Target deserialization error
DuplicateConstantValue(Rc<str>)
Duplicate constant value error
MultipleDefaultSchemas(Rc<str>)
Multiple default resource schemas error
EmptyResourceSchemas(Rc<str>)
Empty resource schemas error
EmptyEffectSchemas(Rc<str>)
Empty effect schemas error
Trait Implementations§
Source§impl Clone for TargetError
impl Clone for TargetError
Source§fn clone(&self) -> TargetError
fn clone(&self) -> TargetError
Returns a duplicate 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 TargetError
impl Debug for TargetError
Source§impl Display for TargetError
impl Display for TargetError
Source§impl Error for TargetError
impl Error for TargetError
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()
Auto Trait Implementations§
impl Freeze for TargetError
impl RefUnwindSafe for TargetError
impl Send for TargetError
impl Sync for TargetError
impl Unpin for TargetError
impl UnsafeUnpin for TargetError
impl UnwindSafe for TargetError
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