pub enum PeerRpcRemoteErrorCodeV1 {
Show 16 variants
PayloadTooLarge,
Unauthorized,
Forbidden,
EndpointUnavailable,
TenantMismatch,
ClusterMismatch,
TargetMismatch,
ProtocolMismatch,
Expired,
NonceReplay,
NonceCacheFull,
InvalidBodyHash,
InvalidResponse,
Transport,
InvalidEnvelope,
Unknown,
}Expand description
Exact controlled error codes emitted by a Peer RPC V1 host.
Variants§
PayloadTooLarge
The request exceeds a configured bound.
The credential is missing or invalid.
Forbidden
The credential does not authorize this request.
The selected endpoint cannot currently accept work.
TenantMismatch
Tenant isolation differs from the target.
ClusterMismatch
Cluster isolation differs from the target.
TargetMismatch
The envelope names another target Core.
ProtocolMismatch
The selected protocol is incompatible.
Expired
The signed envelope expired.
NonceReplay
The nonce was already accepted.
NonceCacheFull
Replay admission reached its configured capacity.
InvalidBodyHash
Payload integrity validation failed.
InvalidResponse
The host observed an invalid response.
Transport
The host transport failed.
InvalidEnvelope
The request envelope is invalid.
Unknown
The rejection was absent or is not part of the frozen V1 matrix.
Implementations§
Trait Implementations§
Source§impl Clone for PeerRpcRemoteErrorCodeV1
impl Clone for PeerRpcRemoteErrorCodeV1
Source§fn clone(&self) -> PeerRpcRemoteErrorCodeV1
fn clone(&self) -> PeerRpcRemoteErrorCodeV1
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 moreimpl Copy for PeerRpcRemoteErrorCodeV1
Source§impl Debug for PeerRpcRemoteErrorCodeV1
impl Debug for PeerRpcRemoteErrorCodeV1
Source§impl Display for PeerRpcRemoteErrorCodeV1
impl Display for PeerRpcRemoteErrorCodeV1
impl Eq for PeerRpcRemoteErrorCodeV1
Source§impl PartialEq for PeerRpcRemoteErrorCodeV1
impl PartialEq for PeerRpcRemoteErrorCodeV1
impl StructuralPartialEq for PeerRpcRemoteErrorCodeV1
Auto Trait Implementations§
impl Freeze for PeerRpcRemoteErrorCodeV1
impl RefUnwindSafe for PeerRpcRemoteErrorCodeV1
impl Send for PeerRpcRemoteErrorCodeV1
impl Sync for PeerRpcRemoteErrorCodeV1
impl Unpin for PeerRpcRemoteErrorCodeV1
impl UnsafeUnpin for PeerRpcRemoteErrorCodeV1
impl UnwindSafe for PeerRpcRemoteErrorCodeV1
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