pub enum InstructionValueError {
CannotNameVoidTypeInst,
NotMemoryAccessInst,
NotLoadOrStoreInst,
NotAllocaInst,
AlignmentError(AlignmentError),
NotGEPInst,
AtomicError(AtomicError),
ExpectedNode,
}Expand description
Errors for InstructionValue.
Variants§
CannotNameVoidTypeInst
NotMemoryAccessInst
NotLoadOrStoreInst
NotAllocaInst
AlignmentError(AlignmentError)
NotGEPInst
AtomicError(AtomicError)
ExpectedNode
Trait Implementations§
Source§impl Debug for InstructionValueError
impl Debug for InstructionValueError
Source§impl Display for InstructionValueError
impl Display for InstructionValueError
Source§impl Error for InstructionValueError
impl Error for InstructionValueError
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 From<InstructionValueError> for Error
impl From<InstructionValueError> for Error
Source§fn from(source: InstructionValueError) -> Self
fn from(source: InstructionValueError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstructionValueError
impl PartialEq for InstructionValueError
impl Eq for InstructionValueError
impl StructuralPartialEq for InstructionValueError
Auto Trait Implementations§
impl Freeze for InstructionValueError
impl RefUnwindSafe for InstructionValueError
impl Send for InstructionValueError
impl Sync for InstructionValueError
impl Unpin for InstructionValueError
impl UnsafeUnpin for InstructionValueError
impl UnwindSafe for InstructionValueError
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