Enum wasmbus_rpc::RpcError [−][src]
pub enum RpcError {
}
Expand description
An error that can occur in the processing of an RPC. This is not request-specific errors but rather cross-cutting errors that can always occur.
Variants
DeadlineExceeded(String)
The request exceeded its deadline.
Tuple Fields of DeadlineExceeded
0: String
NotInitialized(String)
A capability provider was called before its configure_dispatch was called.
Tuple Fields of NotInitialized
0: String
MethodNotHandled(String)
Tuple Fields of MethodNotHandled
0: String
Error that can be returned if server has not implemented an optional interface method
HostError(String)
Tuple Fields of HostError
0: String
Deser(String)
Tuple Fields of Deser
0: String
Ser(String)
Tuple Fields of Ser
0: String
Rpc(String)
Tuple Fields of Rpc
0: String
Nats(String)
Tuple Fields of Nats
0: String
InvalidParameter(String)
Tuple Fields of InvalidParameter
0: String
ActorHandler(String)
Error occurred in actor’s rpc handler
Tuple Fields of ActorHandler
0: String
ProviderInit(String)
Error occurred during provider initialization or put-link
Tuple Fields of ProviderInit
0: String
Timeout(String)
Timeout occurred
Tuple Fields of Timeout
0: String
Other(String)
Anything else
Tuple Fields of Other
0: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more