[−][src]Struct cpace::AwaitingResponse
An intermediate initiator state.
Methods
impl AwaitingResponse
[src]
pub fn recv(self, rsp_msg: ResponseMessage) -> Result<Key, Error>
[src]
Receive the ResponseMessage
from the responder and (hopefully) obtain
a shared Key
.
Note that this function consumes self
to ensure that at most one
response is processed.
Auto Trait Implementations
impl RefUnwindSafe for AwaitingResponse
impl Send for AwaitingResponse
impl Sync for AwaitingResponse
impl Unpin for AwaitingResponse
impl UnwindSafe for AwaitingResponse
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,
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> Same<T> for T
type Output = T
Should always be Self
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.
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>,