Enum network::protocols::rpc::error::RpcError [−][src]
pub enum RpcError {
Error(Error),
IoError(Error),
BcsError(Error),
NotConnected(PeerId),
InvalidRpcResponse,
UnexpectedResponseChannelCancel,
ApplicationError(Error),
MpscSendError(SendError),
TooManyPending(u32),
TimedOut,
}Variants
Error(Error)Tuple Fields of Error
0: ErrorIoError(Error)Tuple Fields of IoError
0: ErrorApplicationError(Error)Tuple Fields of ApplicationError
0: ErrorTooManyPending(u32)Tuple Fields of TooManyPending
0: u32Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RpcError
impl !UnwindSafe for RpcError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self