pub enum ProgramTestError {
InvalidWarpSlot,
}
Expand description
Errors from the program test environment
Variants§
InvalidWarpSlot
The chosen warp slot is not in the future, so warp is not performed
Trait Implementations§
source§impl Debug for ProgramTestError
impl Debug for ProgramTestError
source§impl Display for ProgramTestError
impl Display for ProgramTestError
source§impl Error for ProgramTestError
impl Error for ProgramTestError
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<ProgramTestError> for ProgramTestError
impl PartialEq<ProgramTestError> for ProgramTestError
source§fn eq(&self, other: &ProgramTestError) -> bool
fn eq(&self, other: &ProgramTestError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProgramTestError
impl StructuralEq for ProgramTestError
impl StructuralPartialEq for ProgramTestError
Auto Trait Implementations§
impl RefUnwindSafe for ProgramTestError
impl Send for ProgramTestError
impl Sync for ProgramTestError
impl Unpin for ProgramTestError
impl UnwindSafe for ProgramTestError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.