pub struct ReauthExpectation {
pub community_id: CommunityId,
pub host_id: HostId,
pub delegation_epoch: u64,
pub host_challenge: Challenge,
}Expand description
What the host expects of a reauthentication: the envelope’s community, this host, the epoch it operates under and the connection’s current challenge.
Fields§
§community_id: CommunityIdThe envelope’s community.
host_id: HostIdThis host.
delegation_epoch: u64The delegation epoch this host operates the community under.
host_challenge: ChallengeThe connection’s current, unused challenge.
Trait Implementations§
Source§impl Clone for ReauthExpectation
impl Clone for ReauthExpectation
Source§fn clone(&self) -> ReauthExpectation
fn clone(&self) -> ReauthExpectation
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 moreSource§impl Debug for ReauthExpectation
impl Debug for ReauthExpectation
impl Eq for ReauthExpectation
Source§impl PartialEq for ReauthExpectation
impl PartialEq for ReauthExpectation
impl StructuralPartialEq for ReauthExpectation
Auto Trait Implementations§
impl Freeze for ReauthExpectation
impl RefUnwindSafe for ReauthExpectation
impl Send for ReauthExpectation
impl Sync for ReauthExpectation
impl Unpin for ReauthExpectation
impl UnsafeUnpin for ReauthExpectation
impl UnwindSafe for ReauthExpectation
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