pub enum ErpcErrorCode {
Aborted,
BatchPolicy,
Config,
NotConfigured,
Http,
InvalidResponse,
Rpc,
Timeout,
Transport,
}Expand description
Stable category for an SDK error.
Variants§
Aborted
A caller-provided cancellation token was cancelled.
BatchPolicy
A locally enforced batch policy was violated.
Config
Client configuration was invalid.
NotConfigured
A requested service has no configured transport.
Http
An HTTP response had a non-success status.
InvalidResponse
A response did not satisfy the ERPC contract.
Rpc
A JSON-RPC error response was returned.
Timeout
A request exceeded its timeout.
Transport
A transport could not reach ERPC.
Trait Implementations§
Source§impl Clone for ErpcErrorCode
impl Clone for ErpcErrorCode
impl Copy for ErpcErrorCode
Source§impl Debug for ErpcErrorCode
impl Debug for ErpcErrorCode
Source§impl Display for ErpcErrorCode
impl Display for ErpcErrorCode
impl Eq for ErpcErrorCode
Source§impl PartialEq for ErpcErrorCode
impl PartialEq for ErpcErrorCode
impl StructuralPartialEq for ErpcErrorCode
Auto Trait Implementations§
impl Freeze for ErpcErrorCode
impl RefUnwindSafe for ErpcErrorCode
impl Send for ErpcErrorCode
impl Sync for ErpcErrorCode
impl Unpin for ErpcErrorCode
impl UnsafeUnpin for ErpcErrorCode
impl UnwindSafe for ErpcErrorCode
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