pub struct CommittedDetach<V> { /* private fields */ }Expand description
Committed detach replay cell with its real Detached record sequence.
Implementations§
Source§impl<V: Copy + Eq> CommittedDetach<V>
impl<V: Copy + Eq> CommittedDetach<V>
Sourcepub fn verify_exact(
&self,
request: &DetachRequest,
request_verifier: V,
) -> Result<VerifiedCommittedDetach<'_, V>, DetachReplayError>
pub fn verify_exact( &self, request: &DetachRequest, request_verifier: V, ) -> Result<VerifiedCommittedDetach<'_, V>, DetachReplayError>
Verifies exact replay against the stored token, request fields, and verifier.
§Errors
Returns DetachReplayError at the first mismatch.
Trait Implementations§
Source§impl<V: Clone> Clone for CommittedDetach<V>
impl<V: Clone> Clone for CommittedDetach<V>
Source§fn clone(&self) -> CommittedDetach<V>
fn clone(&self) -> CommittedDetach<V>
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<V: Copy> Copy for CommittedDetach<V>
Source§impl<V: Debug> Debug for CommittedDetach<V>
impl<V: Debug> Debug for CommittedDetach<V>
impl<V: Eq> Eq for CommittedDetach<V>
Source§impl<V: PartialEq> PartialEq for CommittedDetach<V>
impl<V: PartialEq> PartialEq for CommittedDetach<V>
impl<V: PartialEq> StructuralPartialEq for CommittedDetach<V>
Auto Trait Implementations§
impl<V> Freeze for CommittedDetach<V>where
V: Freeze,
impl<V> RefUnwindSafe for CommittedDetach<V>where
V: RefUnwindSafe,
impl<V> Send for CommittedDetach<V>where
V: Send,
impl<V> Sync for CommittedDetach<V>where
V: Sync,
impl<V> Unpin for CommittedDetach<V>where
V: Unpin,
impl<V> UnsafeUnpin for CommittedDetach<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for CommittedDetach<V>where
V: UnwindSafe,
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