pub enum SecureJoinStep {
AuthRequired,
ContactConfirm,
Terminated,
Completed,
}
Expand description
The next message expected by BobState
in the setup-contact/secure-join protocol.
Variants§
AuthRequired
Expecting the auth-required message.
This corresponds to the vc-auth-required
or vg-auth-required
message of step 3d.
ContactConfirm
Expecting the contact-confirm message.
This corresponds to the vc-contact-confirm
or vg-member-added
message of step
6b.
Terminated
The protocol terminated because of an error.
The securejoin protocol terminated, this exists to ensure BobState
can detect
when it earlier signalled that is should be terminated. It is an error to call with
this state.
Completed
The protocol completed.
This exists to ensure BobState
can detect when it earlier signalled that it is
complete. It is an error to call with this state.
Implementations§
Trait Implementations§
source§impl Clone for SecureJoinStep
impl Clone for SecureJoinStep
source§fn clone(&self) -> SecureJoinStep
fn clone(&self) -> SecureJoinStep
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SecureJoinStep
impl Debug for SecureJoinStep
source§impl FromSql for SecureJoinStep
impl FromSql for SecureJoinStep
source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
source§impl PartialEq for SecureJoinStep
impl PartialEq for SecureJoinStep
source§impl ToSql for SecureJoinStep
impl ToSql for SecureJoinStep
impl Copy for SecureJoinStep
impl Eq for SecureJoinStep
impl StructuralPartialEq for SecureJoinStep
Auto Trait Implementations§
impl Freeze for SecureJoinStep
impl RefUnwindSafe for SecureJoinStep
impl Send for SecureJoinStep
impl Sync for SecureJoinStep
impl Unpin for SecureJoinStep
impl UnwindSafe for SecureJoinStep
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.