pub struct DhCacheEntry {
pub g: u32,
pub p: Vec<u8>,
pub version: i32,
}Expand description
Cached DH configuration from messages.getDhConfig.
Fields§
§g: u32Generator.
p: Vec<u8>Safe prime, big-endian.
version: i32Config version, sent back to the server to detect changes.
Auto Trait Implementations§
impl Forget for DhCacheEntry
impl Freeze for DhCacheEntry
impl RefUnwindSafe for DhCacheEntry
impl Send for DhCacheEntry
impl Sync for DhCacheEntry
impl Unpin for DhCacheEntry
impl UnsafeUnpin for DhCacheEntry
impl UnwindSafe for DhCacheEntry
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