Enum solana_program_test::ProgramTestError [−][src]
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
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
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more