Enum frodobuf::RpcError [−][src]
pub enum RpcError { DeadlineExceeded, NotInitialized, Invalid(String), MethodNotHandled(String), NotImplemented, HostError(String), Deser(String), Ser(String), InvalidParameter(String), ActorHandler(String), Other(String), }
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
The request exceeded its deadline.
A capability provider was called before its configure_dispatch was called.
Invalid(String)
The message was invalid
MethodNotHandled(String)
Error that can be returned if server has not implemented an optional interface method
HostError(String)
Deser(String)
Ser(String)
InvalidParameter(String)
ActorHandler(String)
Error occurred in actor’s rpc handler
Other(String)
Anything else
Trait Implementations
impl<'de> Deserialize<'de> for RpcError
[src]
impl<'de> Deserialize<'de> for RpcError
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Error for RpcError
[src]
impl Error for RpcError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl RefUnwindSafe for RpcError
impl Send for RpcError
impl Sync for RpcError
impl Unpin for RpcError
impl UnwindSafe for RpcError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,