Enum tea_sdk::utils::wasm_actor::error::Error
pub enum Error {
Show 13 variants
Unnamed(String),
Global(Global),
RuntimeTapp(String),
RuntimeCodec(String),
ActorTxnsError(String),
General(Errors),
Layer1(Layer1Errors),
GlueSqlErrors(GlueSqlErrors),
ProcessTransactionErrorFailed(ProcessTransactionErrorFailed),
ProviderOperationRejected(ProviderOperationRejected),
AsyncNotFinished(AsyncNotFinished),
HttpRequest(String),
ParseAddress(String),
}
Variants§
Unnamed(String)
Global(Global)
RuntimeTapp(String)
RuntimeCodec(String)
ActorTxnsError(String)
General(Errors)
Layer1(Layer1Errors)
GlueSqlErrors(GlueSqlErrors)
ProcessTransactionErrorFailed(ProcessTransactionErrorFailed)
ProviderOperationRejected(ProviderOperationRejected)
AsyncNotFinished(AsyncNotFinished)
HttpRequest(String)
ParseAddress(String)
Trait Implementations§
§impl<'de> Deserialize<'de> for Error
impl<'de> Deserialize<'de> for Error
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Error, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Error, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Error for Error
impl Error for Error
§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()
§impl From<ActorTxnsError> for Error
impl From<ActorTxnsError> for Error
§fn from(e: ActorTxnsError) -> Error
fn from(e: ActorTxnsError) -> Error
Converts to this type from the input type.
§impl From<AsyncNotFinished> for Error
impl From<AsyncNotFinished> for Error
§fn from(source: AsyncNotFinished) -> Error
fn from(source: AsyncNotFinished) -> Error
Converts to this type from the input type.
§impl From<GlueSqlErrors> for Error
impl From<GlueSqlErrors> for Error
§fn from(source: GlueSqlErrors) -> Error
fn from(source: GlueSqlErrors) -> Error
Converts to this type from the input type.
§impl From<Layer1Errors> for Error
impl From<Layer1Errors> for Error
§fn from(source: Layer1Errors) -> Error
fn from(source: Layer1Errors) -> Error
Converts to this type from the input type.
§impl From<ProcessTransactionErrorFailed> for Error
impl From<ProcessTransactionErrorFailed> for Error
§fn from(source: ProcessTransactionErrorFailed) -> Error
fn from(source: ProcessTransactionErrorFailed) -> Error
Converts to this type from the input type.
§impl From<ProviderOperationRejected> for Error
impl From<ProviderOperationRejected> for Error
§fn from(source: ProviderOperationRejected) -> Error
fn from(source: ProviderOperationRejected) -> Error
Converts to this type from the input type.
§impl From<RuntimeCodec> for Error
impl From<RuntimeCodec> for Error
§fn from(e: RuntimeCodec) -> Error
fn from(e: RuntimeCodec) -> Error
Converts to this type from the input type.
§impl From<RuntimeTappError> for Error
impl From<RuntimeTappError> for Error
§fn from(e: RuntimeTappError) -> Error
fn from(e: RuntimeTappError) -> Error
Converts to this type from the input type.
§impl Serialize for Error
impl Serialize for Error
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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<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.