pub struct PackCommitmentMismatch;Expand description
An UploadPack header that differs from the signed commitment. The
caller picks the code: unauthenticated for the auth v2 pack:
commitment, permission_denied for a ticket (SPEC-TRANSPORT-CONNECT §5).
Trait Implementations§
Source§impl Clone for PackCommitmentMismatch
impl Clone for PackCommitmentMismatch
impl Copy for PackCommitmentMismatch
Source§impl Debug for PackCommitmentMismatch
impl Debug for PackCommitmentMismatch
Source§impl Display for PackCommitmentMismatch
impl Display for PackCommitmentMismatch
impl Eq for PackCommitmentMismatch
Source§impl Error for PackCommitmentMismatch
impl Error for PackCommitmentMismatch
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 PackCommitmentMismatch
impl PartialEq for PackCommitmentMismatch
impl StructuralPartialEq for PackCommitmentMismatch
Auto Trait Implementations§
impl Freeze for PackCommitmentMismatch
impl RefUnwindSafe for PackCommitmentMismatch
impl Send for PackCommitmentMismatch
impl Sync for PackCommitmentMismatch
impl Unpin for PackCommitmentMismatch
impl UnsafeUnpin for PackCommitmentMismatch
impl UnwindSafe for PackCommitmentMismatch
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