pub struct InconsistentSha(/* private fields */);
Expand description
Tells that either digests or signatures are inconsistent in the handshake step.
The handshake step can fail. Also to be inconsistent either digests or signatures is a part of causes. This reports that above thing occurred to upper APIs.
Implementations§
Trait Implementations§
Source§impl Debug for InconsistentSha
impl Debug for InconsistentSha
Source§impl Display for InconsistentSha
impl Display for InconsistentSha
Source§impl Error for InconsistentSha
impl Error for InconsistentSha
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()
Auto Trait Implementations§
impl Freeze for InconsistentSha
impl RefUnwindSafe for InconsistentSha
impl Send for InconsistentSha
impl Sync for InconsistentSha
impl Unpin for InconsistentSha
impl UnwindSafe for InconsistentSha
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