pub struct Exchange<TRemote> { /* private fields */ }
Implementations§
Source§impl<TRemote> Exchange<TRemote>
impl<TRemote> Exchange<TRemote>
pub fn set_initial(self, initial: Key) -> Self
pub fn get_initial(&self) -> Key
pub fn set_generator(self, generator: u32) -> Self
pub fn get_generator(&self) -> u32
pub fn set_prime(self, prime: u32) -> Self
pub fn get_prime(&self) -> u32
pub fn set_private(self, private: u32) -> Self
pub fn get_local(&self) -> u32
Trait Implementations§
impl<TRemote: Copy> Copy for Exchange<TRemote>
Auto Trait Implementations§
impl<TRemote> Freeze for Exchange<TRemote>where
TRemote: Freeze,
impl<TRemote> RefUnwindSafe for Exchange<TRemote>where
TRemote: RefUnwindSafe,
impl<TRemote> Send for Exchange<TRemote>where
TRemote: Send,
impl<TRemote> Sync for Exchange<TRemote>where
TRemote: Sync,
impl<TRemote> Unpin for Exchange<TRemote>where
TRemote: Unpin,
impl<TRemote> UnwindSafe for Exchange<TRemote>where
TRemote: UnwindSafe,
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