Enum quil_rs::program::ProgramError
source · pub enum ProgramError {
ParsingError(ParseProgramError<Program>),
UnsupportedOperation(Instruction),
RecursiveCalibration(Instruction),
GateError(GateError),
UnsupportedForUnitary(Instruction),
}
Variants§
ParsingError(ParseProgramError<Program>)
UnsupportedOperation(Instruction)
RecursiveCalibration(Instruction)
GateError(GateError)
UnsupportedForUnitary(Instruction)
Trait Implementations§
source§impl Debug for ProgramError
impl Debug for ProgramError
source§impl Display for ProgramError
impl Display for ProgramError
source§impl Error for ProgramError
impl Error for ProgramError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<GateError> for ProgramError
impl From<GateError> for ProgramError
source§impl From<ParseProgramError<Program>> for ProgramError
impl From<ParseProgramError<Program>> for ProgramError
source§fn from(source: ParseProgramError<Program>) -> Self
fn from(source: ParseProgramError<Program>) -> Self
Converts to this type from the input type.
source§impl PartialEq<ProgramError> for ProgramError
impl PartialEq<ProgramError> for ProgramError
source§fn eq(&self, other: &ProgramError) -> bool
fn eq(&self, other: &ProgramError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProgramError
Auto Trait Implementations§
impl !RefUnwindSafe for ProgramError
impl Send for ProgramError
impl Sync for ProgramError
impl Unpin for ProgramError
impl !UnwindSafe for ProgramError
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