Enum cosmwasm_vm::BackendError [−][src]
pub enum BackendError {
ForeignPanic {},
BadArgument {},
InvalidUtf8 {},
IteratorDoesNotExist {
id: u32,
},
OutOfGas {},
Unknown {
msg: Option<String>,
},
UserErr {
msg: String,
},
}
Variants
ForeignPanic
Fields
BadArgument
Fields
InvalidUtf8
Fields
IteratorDoesNotExist
Fields
id: u32
OutOfGas
Fields
Unknown
UserErr
Fields
msg: String
Implementations
Use ::unknown(msg: S)
if possible
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BackendError
impl Send for BackendError
impl Sync for BackendError
impl Unpin for BackendError
impl UnwindSafe for BackendError
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
pub fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
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