pub enum RegoProjectionError {
Unrepresentable {
policy: String,
construct: String,
reason: String,
},
Model(String),
Write(String),
}Variants§
Unrepresentable
A policy uses a construct the projection cannot express faithfully.
Model(String)
The model could not be turned into projection input.
Write(String)
An artifact could not be written.
Trait Implementations§
Source§impl Clone for RegoProjectionError
impl Clone for RegoProjectionError
Source§impl Debug for RegoProjectionError
impl Debug for RegoProjectionError
Source§impl Display for RegoProjectionError
impl Display for RegoProjectionError
impl Eq for RegoProjectionError
Source§impl Error for RegoProjectionError
impl Error for RegoProjectionError
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 RegoProjectionError
impl PartialEq for RegoProjectionError
impl StructuralPartialEq for RegoProjectionError
Auto Trait Implementations§
impl Forget for RegoProjectionError
impl Freeze for RegoProjectionError
impl Move for RegoProjectionError
impl RefUnwindSafe for RegoProjectionError
impl Send for RegoProjectionErrorwhere
RawVecInner: Send,
impl Sync for RegoProjectionErrorwhere
RawVecInner: Sync,
impl Unpin for RegoProjectionError
impl UnsafeUnpin for RegoProjectionError
impl UnwindSafe for RegoProjectionErrorwhere
RawVecInner: UnwindSafe,
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.