pub enum SaeUpdate {
SendFrame(AuthFrameTx),
Success(Key),
Reject(RejectReason),
ResetTimeout(Timeout),
CancelTimeout(Timeout),
}
Expand description
An update generated to progress an SAE handshake. These updates should generally be converted into a frame and sent to the SAE peer.
Variants§
SendFrame(AuthFrameTx)
Send an auth frame to the peer.
Success(Key)
Indicates the handshake is complete. The handshake should not be deleted at this point.
Reject(RejectReason)
Indicates that the handshake has failed and must be aborted or restarted.
ResetTimeout(Timeout)
Request the user of the library to set or reset a timeout. If this timeout expires, it should be passed to SaeHandshake::handle_timeout.
CancelTimeout(Timeout)
Request the user of the library to cancel a timeout that was previously set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaeUpdate
impl RefUnwindSafe for SaeUpdate
impl Send for SaeUpdate
impl Sync for SaeUpdate
impl Unpin for SaeUpdate
impl UnwindSafe for SaeUpdate
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