pub enum PeerOperationCallErrorV1 {
TransportUnavailable,
AuthenticationFailed,
ProtocolMismatch,
}Expand description
Local failure, distinct from an authenticated remote rejection or pending result.
Variants§
No authenticated remote result was obtained; commit may already have happened.
AuthenticationFailed
Request issuance or response authentication failed; do not retry blindly.
ProtocolMismatch
Negotiated profile, response integrity or operation binding is invalid.
Trait Implementations§
Source§impl Clone for PeerOperationCallErrorV1
impl Clone for PeerOperationCallErrorV1
Source§fn clone(&self) -> PeerOperationCallErrorV1
fn clone(&self) -> PeerOperationCallErrorV1
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 PeerOperationCallErrorV1
Source§impl Debug for PeerOperationCallErrorV1
impl Debug for PeerOperationCallErrorV1
Source§impl Display for PeerOperationCallErrorV1
impl Display for PeerOperationCallErrorV1
impl Eq for PeerOperationCallErrorV1
Source§impl Error for PeerOperationCallErrorV1
impl Error for PeerOperationCallErrorV1
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 PeerOperationCallErrorV1
impl PartialEq for PeerOperationCallErrorV1
impl StructuralPartialEq for PeerOperationCallErrorV1
Auto Trait Implementations§
impl Forget for PeerOperationCallErrorV1
impl Freeze for PeerOperationCallErrorV1
impl RefUnwindSafe for PeerOperationCallErrorV1
impl Send for PeerOperationCallErrorV1
impl Sync for PeerOperationCallErrorV1
impl Unpin for PeerOperationCallErrorV1
impl UnsafeUnpin for PeerOperationCallErrorV1
impl UnwindSafe for PeerOperationCallErrorV1
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