Enum inkwell::builder::BuilderError
source · pub enum BuilderError {
UnsetPosition,
AlignmentError(&'static str),
ExtractOutOfRange,
BitwidthError(&'static str),
PointeeTypeMismatch(&'static str),
ValueTypeMismatch(&'static str),
OrderingError(&'static str),
GEPPointee,
GEPIndex,
}
Expand description
Errors that can be generated by the Builder. All build_*
methods return a Result<_, BuilderError>
, which must be handled.
Variants§
UnsetPosition
AlignmentError(&'static str)
ExtractOutOfRange
BitwidthError(&'static str)
PointeeTypeMismatch(&'static str)
ValueTypeMismatch(&'static str)
OrderingError(&'static str)
GEPPointee
GEPIndex
Trait Implementations§
source§impl Debug for BuilderError
impl Debug for BuilderError
source§impl Display for BuilderError
impl Display for BuilderError
source§impl Error for BuilderError
impl Error for BuilderError
1.30.0 · 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 PartialEq for BuilderError
impl PartialEq for BuilderError
source§fn eq(&self, other: &BuilderError) -> bool
fn eq(&self, other: &BuilderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BuilderError
impl StructuralPartialEq for BuilderError
Auto Trait Implementations§
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnwindSafe for BuilderError
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