pub enum RekeyingState {
Idle,
Requested {
exchange_id: i64,
},
Accepted {
exchange_id: i64,
},
}Expand description
Progress of a key re-exchange (forward secrecy) for one chat.
Variants§
Idle
No re-key in progress.
Requested
We sent RequestKey and wait for the peer’s AcceptKey.
Accepted
We sent AcceptKey and wait for the peer’s CommitKey.
Trait Implementations§
Source§impl Clone for RekeyingState
impl Clone for RekeyingState
Auto Trait Implementations§
impl Forget for RekeyingState
impl Freeze for RekeyingState
impl RefUnwindSafe for RekeyingState
impl Send for RekeyingState
impl Sync for RekeyingState
impl Unpin for RekeyingState
impl UnsafeUnpin for RekeyingState
impl UnwindSafe for RekeyingState
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