pub enum FinishResult {
Done(Finished),
Retry {
retry_id: i64,
dh_params: DhParamsForRetry,
nonce: [u8; 16],
server_nonce: [u8; 16],
new_nonce: [u8; 32],
},
}Expand description
Result of finish either the handshake is done, or the server wants us
to retry step 3 with the auth_key_aux_hash as retry_id.
Variants§
Done(Finished)
Handshake complete.
Retry
Server sent dh_gen_retry. Call retry_step3 with the returned
retry_id and the stored DhParamsForRetry from the previous Step3.
Fields
§
dh_params: DhParamsForRetryDH parameters to feed back into retry_step3.
Auto Trait Implementations§
impl Freeze for FinishResult
impl RefUnwindSafe for FinishResult
impl Send for FinishResult
impl Sync for FinishResult
impl Unpin for FinishResult
impl UnsafeUnpin for FinishResult
impl UnwindSafe for FinishResult
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