pub enum PolicyAbiError {
IncompatibleVersion {
bundle_version: PolicyAbiVersion,
supported_version: PolicyAbiVersion,
},
InvalidVersionFormat(String),
MissingAbiVersion,
ValidationFailed(String),
DeserializationFailed(String),
}Expand description
Policy ABI validation errors
Variants§
IncompatibleVersion
InvalidVersionFormat(String)
MissingAbiVersion
ValidationFailed(String)
DeserializationFailed(String)
Trait Implementations§
Source§impl Debug for PolicyAbiError
impl Debug for PolicyAbiError
Source§impl Display for PolicyAbiError
impl Display for PolicyAbiError
Source§impl Error for PolicyAbiError
impl Error for PolicyAbiError
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 PolicyAbiError
impl RefUnwindSafe for PolicyAbiError
impl Send for PolicyAbiError
impl Sync for PolicyAbiError
impl Unpin for PolicyAbiError
impl UnsafeUnpin for PolicyAbiError
impl UnwindSafe for PolicyAbiError
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