pub enum PeerRpcError {
}Expand description
Provider-independent peer RPC failure.
Variants§
PayloadTooLarge
The request or response exceeds its configured bound.
Authentication credentials are missing or invalid.
Forbidden
Credentials are valid but do not authorize this request.
No eligible peer endpoint is available.
TenantMismatch
Source and target tenants differ.
ClusterMismatch
Source and target clusters differ.
TargetMismatch
The request targets another core.
ProtocolMismatch
Source and target protocol versions are incompatible.
Expired
The envelope has expired.
NonceReplay
The envelope nonce was already accepted.
NonceCacheFull
Replay protection reached its configured bound.
InvalidBodyHash
The payload does not match the envelope digest.
InvalidResponse(String)
The remote endpoint returned an invalid response.
Transport(String)
Transport execution failed.
InvalidEnvelope(String)
The incoming envelope is malformed.
Trait Implementations§
Source§impl Clone for PeerRpcError
impl Clone for PeerRpcError
Source§fn clone(&self) -> PeerRpcError
fn clone(&self) -> PeerRpcError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PeerRpcError
impl Debug for PeerRpcError
Source§impl Display for PeerRpcError
impl Display for PeerRpcError
impl Eq for PeerRpcError
Source§impl Error for PeerRpcError
impl Error for PeerRpcError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for PeerRpcError
impl PartialEq for PeerRpcError
impl StructuralPartialEq for PeerRpcError
Auto Trait Implementations§
impl Freeze for PeerRpcError
impl RefUnwindSafe for PeerRpcError
impl Send for PeerRpcError
impl Sync for PeerRpcError
impl Unpin for PeerRpcError
impl UnsafeUnpin for PeerRpcError
impl UnwindSafe for PeerRpcError
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