pub enum ProfileCheckError {
InvalidProgram(ProgramValidationError),
Unsupported(UnsupportedCapabilities),
}Expand description
An invalid program or an explicitly unsupported language feature.
Variants§
InvalidProgram(ProgramValidationError)
Structural safety, stratification or equality compatibility failed.
Unsupported(UnsupportedCapabilities)
One or more required features are absent from the profile.
Trait Implementations§
Source§impl Clone for ProfileCheckError
impl Clone for ProfileCheckError
Source§impl Debug for ProfileCheckError
impl Debug for ProfileCheckError
Source§impl<'de> Deserialize<'de> for ProfileCheckError
impl<'de> Deserialize<'de> for ProfileCheckError
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 Display for ProfileCheckError
impl Display for ProfileCheckError
impl Eq for ProfileCheckError
Source§impl Error for ProfileCheckError
impl Error for ProfileCheckError
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 ProfileCheckError
impl PartialEq for ProfileCheckError
Source§impl Serialize for ProfileCheckError
impl Serialize for ProfileCheckError
impl StructuralPartialEq for ProfileCheckError
Auto Trait Implementations§
impl Freeze for ProfileCheckError
impl RefUnwindSafe for ProfileCheckError
impl Send for ProfileCheckError
impl Sync for ProfileCheckError
impl Unpin for ProfileCheckError
impl UnsafeUnpin for ProfileCheckError
impl UnwindSafe for ProfileCheckError
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