pub enum YieldError {
UnexpectedTag(u8),
UnexpectedConTag(u64),
BadValFields(u16),
BadEFields(u16),
BadUnionFields(u16),
NullPointer,
DivisionByZero,
Overflow,
}Variants§
UnexpectedTag(u8)
Result HeapObject had unexpected tag byte.
UnexpectedConTag(u64)
Result was Con but con_tag was neither Val nor E.
BadValFields(u16)
Val constructor had wrong number of fields.
BadEFields(u16)
E constructor had wrong number of fields.
BadUnionFields(u16)
Union constructor had wrong number of fields.
NullPointer
Null pointer encountered.
DivisionByZero
Division by zero in JIT code.
Overflow
Arithmetic overflow in JIT code.
Trait Implementations§
Source§impl Clone for YieldError
impl Clone for YieldError
Source§fn clone(&self) -> YieldError
fn clone(&self) -> YieldError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for YieldError
impl Debug for YieldError
Source§impl Display for YieldError
impl Display for YieldError
Source§impl Error for YieldError
impl Error for YieldError
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 PartialEq for YieldError
impl PartialEq for YieldError
impl Copy for YieldError
impl Eq for YieldError
impl StructuralPartialEq for YieldError
Auto Trait Implementations§
impl Freeze for YieldError
impl RefUnwindSafe for YieldError
impl Send for YieldError
impl Sync for YieldError
impl Unpin for YieldError
impl UnsafeUnpin for YieldError
impl UnwindSafe for YieldError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.