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<'de> Deserialize<'de> for Global
impl<'de> Deserialize<'de> for Global
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Global, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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 Error for Global
impl Error for Global
§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<AccessNotPermitted> for Global
impl From<AccessNotPermitted> for Global
§fn from(source: AccessNotPermitted) -> Global
fn from(source: AccessNotPermitted) -> Global
Converts to this type from the input type.
§impl From<ActorDeactivating> for Global
impl From<ActorDeactivating> for Global
§fn from(source: ActorDeactivating) -> Global
fn from(source: ActorDeactivating) -> Global
Converts to this type from the input type.
§impl From<ActorHostDropped> for Global
impl From<ActorHostDropped> for Global
§fn from(source: ActorHostDropped) -> Global
fn from(source: ActorHostDropped) -> Global
Converts to this type from the input type.
§impl From<ActorNotExist> for Global
impl From<ActorNotExist> for Global
§fn from(source: ActorNotExist) -> Global
fn from(source: ActorNotExist) -> Global
Converts to this type from the input type.
§impl From<ActorTxnsError> for Global
impl From<ActorTxnsError> for Global
§fn from(e: ActorTxnsError) -> Global
fn from(e: ActorTxnsError) -> Global
Converts to this type from the input type.
§impl From<AddrParseError> for Global
impl From<AddrParseError> for Global
§fn from(e: AddrParseError) -> Global
fn from(e: AddrParseError) -> Global
Converts to this type from the input type.
§impl From<BadBinaryFormat> for Global
impl From<BadBinaryFormat> for Global
§fn from(source: BadBinaryFormat) -> Global
fn from(source: BadBinaryFormat) -> Global
Converts to this type from the input type.
§impl From<BadWorkerOutput> for Global
impl From<BadWorkerOutput> for Global
§fn from(source: BadWorkerOutput) -> Global
fn from(source: BadWorkerOutput) -> Global
Converts to this type from the input type.
§impl From<CannotBeNone> for Global
impl From<CannotBeNone> for Global
§fn from(source: CannotBeNone) -> Global
fn from(source: CannotBeNone) -> Global
Converts to this type from the input type.
§impl From<ChannelReceivingTimeout> for Global
impl From<ChannelReceivingTimeout> for Global
§fn from(source: ChannelReceivingTimeout) -> Global
fn from(source: ChannelReceivingTimeout) -> Global
Converts to this type from the input type.
§impl From<DecodeError> for Global
impl From<DecodeError> for Global
§fn from(e: DecodeError) -> Global
fn from(e: DecodeError) -> Global
Converts to this type from the input type.
§impl From<EncodeError> for Global
impl From<EncodeError> for Global
§fn from(e: EncodeError) -> Global
fn from(e: EncodeError) -> Global
Converts to this type from the input type.
§impl From<FromHexError> for Global
impl From<FromHexError> for Global
§fn from(e: FromHexError) -> Global
fn from(e: FromHexError) -> Global
Converts to this type from the input type.
§impl From<FromUtf8Error> for Global
impl From<FromUtf8Error> for Global
§fn from(e: FromUtf8Error) -> Global
fn from(e: FromUtf8Error) -> Global
Converts to this type from the input type.
§impl From<GasFeeExhausted> for Global
impl From<GasFeeExhausted> for Global
§fn from(source: GasFeeExhausted) -> Global
fn from(source: GasFeeExhausted) -> Global
Converts to this type from the input type.
§impl From<InvalidASystemInvocation> for Global
impl From<InvalidASystemInvocation> for Global
§fn from(e: InvalidASystemInvocation) -> Global
fn from(e: InvalidASystemInvocation) -> Global
Converts to this type from the input type.
§impl From<InvalidBSystemInvocation> for Global
impl From<InvalidBSystemInvocation> for Global
§fn from(e: InvalidBSystemInvocation) -> Global
fn from(e: InvalidBSystemInvocation) -> Global
Converts to this type from the input type.
§impl From<InvalidFormat> for Global
impl From<InvalidFormat> for Global
§fn from(source: InvalidFormat) -> Global
fn from(source: InvalidFormat) -> Global
Converts to this type from the input type.
§impl From<InvocationTimeout> for Global
impl From<InvocationTimeout> for Global
§fn from(source: InvocationTimeout) -> Global
fn from(source: InvocationTimeout) -> Global
Converts to this type from the input type.
§impl From<InvokeDeserializeError> for Global
impl From<InvokeDeserializeError> for Global
§fn from(source: InvokeDeserializeError) -> Global
fn from(source: InvokeDeserializeError) -> Global
Converts to this type from the input type.
§impl From<MissingCallingStack> for Global
impl From<MissingCallingStack> for Global
§fn from(source: MissingCallingStack) -> Global
fn from(source: MissingCallingStack) -> Global
Converts to this type from the input type.
§impl From<NotSupported> for Global
impl From<NotSupported> for Global
§fn from(source: NotSupported) -> Global
fn from(source: NotSupported) -> Global
Converts to this type from the input type.
§impl From<ParseBoolError> for Global
impl From<ParseBoolError> for Global
§fn from(e: ParseBoolError) -> Global
fn from(e: ParseBoolError) -> Global
Converts to this type from the input type.
§impl From<ParseCharError> for Global
impl From<ParseCharError> for Global
§fn from(e: ParseCharError) -> Global
fn from(e: ParseCharError) -> Global
Converts to this type from the input type.
§impl From<ParseFloatError> for Global
impl From<ParseFloatError> for Global
§fn from(e: ParseFloatError) -> Global
fn from(e: ParseFloatError) -> Global
Converts to this type from the input type.
§impl From<ParseIntError> for Global
impl From<ParseIntError> for Global
§fn from(e: ParseIntError) -> Global
fn from(e: ParseIntError) -> Global
Converts to this type from the input type.
§impl From<ParseLevelError> for Global
impl From<ParseLevelError> for Global
§fn from(e: ParseLevelError) -> Global
fn from(e: ParseLevelError) -> Global
Converts to this type from the input type.
§impl From<PersistCheck> for Global
impl From<PersistCheck> for Global
§fn from(e: PersistCheck) -> Global
fn from(e: PersistCheck) -> Global
Converts to this type from the input type.
§impl From<RoutineTimeout> for Global
impl From<RoutineTimeout> for Global
§fn from(source: RoutineTimeout) -> Global
fn from(source: RoutineTimeout) -> Global
Converts to this type from the input type.
§impl From<SetLoggerError> for Global
impl From<SetLoggerError> for Global
§fn from(e: SetLoggerError) -> Global
fn from(e: SetLoggerError) -> Global
Converts to this type from the input type.
§impl From<SystemTimeError> for Global
impl From<SystemTimeError> for Global
§fn from(e: SystemTimeError) -> Global
fn from(e: SystemTimeError) -> Global
Converts to this type from the input type.
§impl From<TableAccess> for Global
impl From<TableAccess> for Global
§fn from(e: TableAccess) -> Global
fn from(e: TableAccess) -> Global
Converts to this type from the input type.
§impl From<TryFromCharError> for Global
impl From<TryFromCharError> for Global
§fn from(e: TryFromCharError) -> Global
fn from(e: TryFromCharError) -> Global
Converts to this type from the input type.
§impl From<TryFromIntError> for Global
impl From<TryFromIntError> for Global
§fn from(e: TryFromIntError) -> Global
fn from(e: TryFromIntError) -> Global
Converts to this type from the input type.
§impl From<TryFromSliceError> for Global
impl From<TryFromSliceError> for Global
§fn from(e: TryFromSliceError) -> Global
fn from(e: TryFromSliceError) -> Global
Converts to this type from the input type.
§impl From<TypeIdMismatch> for Global
impl From<TypeIdMismatch> for Global
§fn from(source: TypeIdMismatch) -> Global
fn from(source: TypeIdMismatch) -> Global
Converts to this type from the input type.
§impl From<UnexpectedType> for Global
impl From<UnexpectedType> for Global
§fn from(source: UnexpectedType) -> Global
fn from(source: UnexpectedType) -> Global
Converts to this type from the input type.
§impl From<VmhGeneralErrors> for Global
impl From<VmhGeneralErrors> for Global
§fn from(e: VmhGeneralErrors) -> Global
fn from(e: VmhGeneralErrors) -> Global
Converts to this type from the input type.
§impl From<WorkerCrashed> for Global
impl From<WorkerCrashed> for Global
§fn from(source: WorkerCrashed) -> Global
fn from(source: WorkerCrashed) -> Global
Converts to this type from the input type.
§impl Serialize for Global
impl Serialize for Global
§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 Global
impl StructuralEq for Global
impl StructuralPartialEq for Global
Auto Trait Implementations§
impl RefUnwindSafe for Global
impl Send for Global
impl Sync for Global
impl Unpin for Global
impl UnwindSafe for Global
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.