pub struct TempChatState {
pub id: i32,
pub private_key_a: [u8; 256],
}Expand description
Temporary state held while waiting for the peer to accept (User A side).
Fields§
§id: i32Secret chat id this exchange belongs to.
private_key_a: [u8; 256]The 256-byte private exponent a used to compute the shared secret.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TempChatState
impl Freeze for TempChatState
impl RefUnwindSafe for TempChatState
impl Send for TempChatState
impl Sync for TempChatState
impl Unpin for TempChatState
impl UnsafeUnpin for TempChatState
impl UnwindSafe for TempChatState
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