Struct keynesis::noise::ix::IX [−][src]
Interactive Handshake Noise IX
Implementations
impl<DH, H, RNG> IX<DH, H, RNG, A> where
DH: Dh,
H: Hash,
[src]
DH: Dh,
H: Hash,
impl<DH, H, RNG> IX<DH, H, RNG, A> where
RNG: RngCore + CryptoRng,
DH: Dh,
H: Hash,
[src]
RNG: RngCore + CryptoRng,
DH: Dh,
H: Hash,
pub fn initiate(
self,
s: &PublicKey,
output: impl Write
) -> Result<IX<DH, H, RNG, WaitB>, HandshakeStateError>
[src]
self,
s: &PublicKey,
output: impl Write
) -> Result<IX<DH, H, RNG, WaitB>, HandshakeStateError>
impl<DH, H, RNG> IX<DH, H, RNG, A> where
DH: Dh,
H: Hash,
[src]
DH: Dh,
H: Hash,
impl<DH, H, RNG> IX<DH, H, RNG, SendB> where
RNG: RngCore + CryptoRng,
DH: Dh,
H: Hash,
[src]
RNG: RngCore + CryptoRng,
DH: Dh,
H: Hash,
pub fn reply(
self,
s: &DH,
output: impl Write
) -> Result<TransportState<H>, HandshakeStateError>
[src]
self,
s: &DH,
output: impl Write
) -> Result<TransportState<H>, HandshakeStateError>
impl<DH, H, RNG> IX<DH, H, RNG, WaitB> where
DH: Dh,
H: Hash,
[src]
DH: Dh,
H: Hash,
pub fn receive(
self,
s: &DH,
input: &[u8]
) -> Result<TransportState<H>, HandshakeStateError>
[src]
self,
s: &DH,
input: &[u8]
) -> Result<TransportState<H>, HandshakeStateError>
Auto Trait Implementations
impl<DH, H, RNG, S> RefUnwindSafe for IX<DH, H, RNG, S> where
DH: RefUnwindSafe,
H: RefUnwindSafe,
RNG: RefUnwindSafe,
S: RefUnwindSafe,
<H as Hash>::HASH: RefUnwindSafe,
[src]
DH: RefUnwindSafe,
H: RefUnwindSafe,
RNG: RefUnwindSafe,
S: RefUnwindSafe,
<H as Hash>::HASH: RefUnwindSafe,
impl<DH, H, RNG, S> Send for IX<DH, H, RNG, S> where
DH: Send,
H: Send,
RNG: Send,
S: Send,
<H as Hash>::HASH: Send,
[src]
DH: Send,
H: Send,
RNG: Send,
S: Send,
<H as Hash>::HASH: Send,
impl<DH, H, RNG, S> Sync for IX<DH, H, RNG, S> where
DH: Sync,
H: Sync,
RNG: Sync,
S: Sync,
<H as Hash>::HASH: Sync,
[src]
DH: Sync,
H: Sync,
RNG: Sync,
S: Sync,
<H as Hash>::HASH: Sync,
impl<DH, H, RNG, S> Unpin for IX<DH, H, RNG, S> where
DH: Unpin,
H: Unpin,
RNG: Unpin,
S: Unpin,
<H as Hash>::HASH: Unpin,
[src]
DH: Unpin,
H: Unpin,
RNG: Unpin,
S: Unpin,
<H as Hash>::HASH: Unpin,
impl<DH, H, RNG, S> UnwindSafe for IX<DH, H, RNG, S> where
DH: UnwindSafe,
H: UnwindSafe,
RNG: UnwindSafe,
S: UnwindSafe,
<H as Hash>::HASH: UnwindSafe,
[src]
DH: UnwindSafe,
H: UnwindSafe,
RNG: UnwindSafe,
S: UnwindSafe,
<H as Hash>::HASH: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,