pub struct XX<DH, H, RNG, S> where
H: Hash, { /* private fields */ }
Expand description
Interactive Handshake Noise XX
Implementations
sourceimpl<DH, H, RNG> XX<DH, H, RNG, SendC> where
DH: Dh,
H: Hash,
impl<DH, H, RNG> XX<DH, H, RNG, SendC> where
DH: Dh,
H: Hash,
pub fn reply(
self,
s: &DH,
output: impl Write
) -> Result<TransportState<H>, HandshakeStateError>
sourceimpl<DH, H, RNG> XX<DH, H, RNG, WaitC> where
DH: Dh,
H: Hash,
impl<DH, H, RNG> XX<DH, H, RNG, WaitC> where
DH: Dh,
H: Hash,
pub fn receive(
self,
input: &[u8]
) -> Result<TransportState<H>, HandshakeStateError>
Auto Trait Implementations
impl<DH, H, RNG, S> RefUnwindSafe for XX<DH, H, RNG, S> where
DH: RefUnwindSafe,
H: RefUnwindSafe,
RNG: RefUnwindSafe,
S: RefUnwindSafe,
<H as Hash>::HASH: RefUnwindSafe,
impl<DH, H, RNG, S> Send for XX<DH, H, RNG, S> where
DH: Send,
H: Send,
RNG: Send,
S: Send,
<H as Hash>::HASH: Send,
impl<DH, H, RNG, S> Sync for XX<DH, H, RNG, S> where
DH: Sync,
H: Sync,
RNG: Sync,
S: Sync,
<H as Hash>::HASH: Sync,
impl<DH, H, RNG, S> Unpin for XX<DH, H, RNG, S> where
DH: Unpin,
H: Unpin,
RNG: Unpin,
S: Unpin,
<H as Hash>::HASH: Unpin,
impl<DH, H, RNG, S> UnwindSafe for XX<DH, H, RNG, S> where
DH: UnwindSafe,
H: UnwindSafe,
RNG: UnwindSafe,
S: UnwindSafe,
<H as Hash>::HASH: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more