Enum tea_sdk::errorx::Global

pub enum Global {
Show 45 variants Unnamed(String), DbNotFound(String), WasmWorkerError(String), CannotBeNone(CannotBeNone), BadBinaryFormat(BadBinaryFormat), RoutineTimeout(RoutineTimeout), TypeIdMismatch(TypeIdMismatch), UnexpectedType(UnexpectedType), InvalidFormat(InvalidFormat), GasFeeExhausted(GasFeeExhausted), WorkerCrashed(WorkerCrashed), AccessNotPermitted(AccessNotPermitted), ActorNotExist(ActorNotExist), NotSupported(NotSupported), ActorHostDropped(ActorHostDropped), ActorDeactivating(ActorDeactivating), InvocationTimeout(InvocationTimeout), ChannelReceivingTimeout(ChannelReceivingTimeout), BadWorkerOutput(BadWorkerOutput), MissingCallingStack(MissingCallingStack), InvokeDeserializeError(InvokeDeserializeError), JsonSerde(String), BincodeSerde(String), FromUtf8(String), StdIo(String), ProstDecode(String), ProstEncode(String), TryFromIntError(String), TryFromCharError(String), TryFromSliceError(String), ParseBool(String), ParseInt(String), ParseChar(String), ParseFloat(String), ParseAddr(String), SystemTime(String), ParseLevel(String), SetLog(String), Base64Decode(String), HexDecode(String), MpscRecv(String), CrossbeamReceive(String), ChannelReceive(String), ChannelCanceled(String), ChannelSend(String),
}

Variants§

§

Unnamed(String)

§

DbNotFound(String)

§

WasmWorkerError(String)

§

CannotBeNone(CannotBeNone)

§

BadBinaryFormat(BadBinaryFormat)

§

RoutineTimeout(RoutineTimeout)

§

TypeIdMismatch(TypeIdMismatch)

§

UnexpectedType(UnexpectedType)

§

InvalidFormat(InvalidFormat)

§

GasFeeExhausted(GasFeeExhausted)

§

WorkerCrashed(WorkerCrashed)

§

AccessNotPermitted(AccessNotPermitted)

§

ActorNotExist(ActorNotExist)

§

NotSupported(NotSupported)

§

ActorHostDropped(ActorHostDropped)

§

ActorDeactivating(ActorDeactivating)

§

InvocationTimeout(InvocationTimeout)

§

ChannelReceivingTimeout(ChannelReceivingTimeout)

§

BadWorkerOutput(BadWorkerOutput)

§

MissingCallingStack(MissingCallingStack)

§

InvokeDeserializeError(InvokeDeserializeError)

§

JsonSerde(String)

§

BincodeSerde(String)

§

FromUtf8(String)

§

StdIo(String)

§

ProstDecode(String)

§

ProstEncode(String)

§

TryFromIntError(String)

§

TryFromCharError(String)

§

TryFromSliceError(String)

§

ParseBool(String)

§

ParseInt(String)

§

ParseChar(String)

§

ParseFloat(String)

§

ParseAddr(String)

§

SystemTime(String)

§

ParseLevel(String)

§

SetLog(String)

§

Base64Decode(String)

§

HexDecode(String)

§

MpscRecv(String)

§

CrossbeamReceive(String)

§

ChannelReceive(String)

§

ChannelCanceled(String)

§

ChannelSend(String)

Trait Implementations§

§

impl Clone for Global

§

fn clone(&self) -> Global

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Global

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for Global

§

fn deserialize<__D>( __deserializer: __D ) -> Result<Global, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for Global

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for Global

§

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

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
§

impl From<AccessNotPermitted> for Global

§

fn from(source: AccessNotPermitted) -> Global

Converts to this type from the input type.
§

impl From<ActorDeactivating> for Global

§

fn from(source: ActorDeactivating) -> Global

Converts to this type from the input type.
§

impl From<ActorHostDropped> for Global

§

fn from(source: ActorHostDropped) -> Global

Converts to this type from the input type.
§

impl From<ActorNotExist> for Global

§

fn from(source: ActorNotExist) -> Global

Converts to this type from the input type.
§

impl From<ActorTxnsError> for Global

§

fn from(e: ActorTxnsError) -> Global

Converts to this type from the input type.
§

impl From<AddrParseError> for Global

§

fn from(e: AddrParseError) -> Global

Converts to this type from the input type.
§

impl From<BadBinaryFormat> for Global

§

fn from(source: BadBinaryFormat) -> Global

Converts to this type from the input type.
§

impl From<BadWorkerOutput> for Global

§

fn from(source: BadWorkerOutput) -> Global

Converts to this type from the input type.
§

impl From<Box<ErrorKind>> for Global

§

fn from(e: Box<ErrorKind>) -> Global

Converts to this type from the input type.
§

impl From<Canceled> for Global

§

fn from(e: Canceled) -> Global

Converts to this type from the input type.
§

impl From<CannotBeNone> for Global

§

fn from(source: CannotBeNone) -> Global

Converts to this type from the input type.
§

impl From<ChannelReceivingTimeout> for Global

§

fn from(source: ChannelReceivingTimeout) -> Global

Converts to this type from the input type.
§

impl From<DecodeError> for Global

§

fn from(e: DecodeError) -> Global

Converts to this type from the input type.
§

impl From<DecodeError> for Global

§

fn from(e: DecodeError) -> Global

Converts to this type from the input type.
§

impl From<EncodeError> for Global

§

fn from(e: EncodeError) -> Global

Converts to this type from the input type.
§

impl From<Error> for Global

§

fn from(e: Error) -> Global

Converts to this type from the input type.
§

impl From<Error> for Global

§

fn from(e: Error) -> Global

Converts to this type from the input type.
§

impl From<FromHexError> for Global

§

fn from(e: FromHexError) -> Global

Converts to this type from the input type.
§

impl From<FromUtf8Error> for Global

§

fn from(e: FromUtf8Error) -> Global

Converts to this type from the input type.
§

impl From<GasFeeExhausted> for Global

§

fn from(source: GasFeeExhausted) -> Global

Converts to this type from the input type.
§

impl From<Global> for Error

§

fn from(source: Global) -> Error

Converts to this type from the input type.
§

impl From<Global> for Errors

§

fn from(source: Global) -> Errors

Converts to this type from the input type.
§

impl From<InvalidASystemInvocation> for Global

§

fn from(e: InvalidASystemInvocation) -> Global

Converts to this type from the input type.
§

impl From<InvalidBSystemInvocation> for Global

§

fn from(e: InvalidBSystemInvocation) -> Global

Converts to this type from the input type.
§

impl From<InvalidFormat> for Global

§

fn from(source: InvalidFormat) -> Global

Converts to this type from the input type.
§

impl From<InvocationTimeout> for Global

§

fn from(source: InvocationTimeout) -> Global

Converts to this type from the input type.
§

impl From<InvokeDeserializeError> for Global

§

fn from(source: InvokeDeserializeError) -> Global

Converts to this type from the input type.
§

impl From<MissingCallingStack> for Global

§

fn from(source: MissingCallingStack) -> Global

Converts to this type from the input type.
§

impl From<NotSupported> for Global

§

fn from(source: NotSupported) -> Global

Converts to this type from the input type.
§

impl From<ParseBoolError> for Global

§

fn from(e: ParseBoolError) -> Global

Converts to this type from the input type.
§

impl From<ParseCharError> for Global

§

fn from(e: ParseCharError) -> Global

Converts to this type from the input type.
§

impl From<ParseFloatError> for Global

§

fn from(e: ParseFloatError) -> Global

Converts to this type from the input type.
§

impl From<ParseIntError> for Global

§

fn from(e: ParseIntError) -> Global

Converts to this type from the input type.
§

impl From<ParseLevelError> for Global

§

fn from(e: ParseLevelError) -> Global

Converts to this type from the input type.
§

impl From<PersistCheck> for Global

§

fn from(e: PersistCheck) -> Global

Converts to this type from the input type.
§

impl From<RecvError> for Global

§

fn from(e: RecvError) -> Global

Converts to this type from the input type.
§

impl From<RecvError> for Global

§

fn from(e: RecvError) -> Global

Converts to this type from the input type.
§

impl From<RoutineTimeout> for Global

§

fn from(source: RoutineTimeout) -> Global

Converts to this type from the input type.
§

impl From<SendError> for Global

§

fn from(e: SendError) -> Global

Converts to this type from the input type.
§

impl From<SetLoggerError> for Global

§

fn from(e: SetLoggerError) -> Global

Converts to this type from the input type.
§

impl From<SystemTimeError> for Global

§

fn from(e: SystemTimeError) -> Global

Converts to this type from the input type.
§

impl From<TableAccess> for Global

§

fn from(e: TableAccess) -> Global

Converts to this type from the input type.
§

impl From<TryFromCharError> for Global

§

fn from(e: TryFromCharError) -> Global

Converts to this type from the input type.
§

impl From<TryFromIntError> for Global

§

fn from(e: TryFromIntError) -> Global

Converts to this type from the input type.
§

impl From<TryFromSliceError> for Global

§

fn from(e: TryFromSliceError) -> Global

Converts to this type from the input type.
§

impl From<TryRecvError> for Global

§

fn from(value: TryRecvError) -> Global

Converts to this type from the input type.
§

impl From<TypeIdMismatch> for Global

§

fn from(source: TypeIdMismatch) -> Global

Converts to this type from the input type.
§

impl From<UnexpectedType> for Global

§

fn from(source: UnexpectedType) -> Global

Converts to this type from the input type.
§

impl From<Utf8Error> for Global

§

fn from(e: Utf8Error) -> Global

Converts to this type from the input type.
§

impl From<VmhGeneralErrors> for Global

§

fn from(e: VmhGeneralErrors) -> Global

Converts to this type from the input type.
§

impl From<WorkerCrashed> for Global

§

fn from(source: WorkerCrashed) -> Global

Converts to this type from the input type.
§

impl PartialEq for Global

§

fn eq(&self, other: &Global) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Serialize for Global

§

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 Global

§

impl StructuralEq for Global

§

impl StructuralPartialEq for Global

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

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,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<'a, T> FromBytes<'a> for Twhere T: IsFromBytes<'a>,

§

default fn from_bytes(buf: &'a [u8]) -> Result<T, Global>

§

impl<T> FromHttpBytes for Twhere T: DeserializeOwned, NotBytesWrapper<T>: NotBytes,

§

default fn from_http_bytes(input: Vec<u8>) -> Result<T, RuntimeCodec>

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoHttpBytes for Twhere T: Serialize, NotBytesWrapper<T>: NotBytes,

§

default fn into_http_bytes(self) -> Result<Vec<u8>, RuntimeCodec>

source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> ToBytes for Twhere T: IsToBytes,

§

fn to_bytes(&self) -> Result<Vec<u8>, Global>

§

fn bytes_len(&self) -> Result<usize, Global>

§

fn write_to(&self, w: impl SerBuf) -> Result<(), Global>

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,