Enum tea_sdk::utils::client_wasm_actor::Errors
pub enum Errors {
Show 17 variants
Unnamed(String),
UnknownRequest,
UnknownAction(String),
ParseAddressError,
U128Length(usize),
NotEnoughBalanceForTxn,
SerdeJsonError(String),
Global(Global),
RuntimeTappError(String),
ParseAddress(String),
ParseBalance(String),
HttpError(String),
ProstError(String),
Base64Error(String),
FromUtf8Error(String),
ParseIntError(String),
EnclaveUtilsError(String),
}
Variants§
Unnamed(String)
UnknownRequest
UnknownAction(String)
ParseAddressError
U128Length(usize)
NotEnoughBalanceForTxn
SerdeJsonError(String)
Global(Global)
RuntimeTappError(String)
ParseAddress(String)
ParseBalance(String)
HttpError(String)
ProstError(String)
Base64Error(String)
FromUtf8Error(String)
ParseIntError(String)
EnclaveUtilsError(String)
Trait Implementations§
§impl Error for Errors
impl Error for Errors
§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<DecodeError> for Errors
impl From<DecodeError> for Errors
§fn from(e: DecodeError) -> Errors
fn from(e: DecodeError) -> Errors
Converts to this type from the input type.
§impl From<FromUtf8Error> for Errors
impl From<FromUtf8Error> for Errors
§fn from(e: FromUtf8Error) -> Errors
fn from(e: FromUtf8Error) -> Errors
Converts to this type from the input type.
§impl From<ParseIntError> for Errors
impl From<ParseIntError> for Errors
§fn from(e: ParseIntError) -> Errors
fn from(e: ParseIntError) -> Errors
Converts to this type from the input type.
§impl From<RuntimeTappError> for Errors
impl From<RuntimeTappError> for Errors
§fn from(e: RuntimeTappError) -> Errors
fn from(e: RuntimeTappError) -> Errors
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Errors
impl Send for Errors
impl Sync for Errors
impl Unpin for Errors
impl UnwindSafe for Errors
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