pub enum Fourway {
Authenticator(StateMachine<State>),
Supplicant(StateMachine<State>),
}
Variants§
Implementations§
Source§impl Fourway
impl Fourway
pub fn new(cfg: Config, pmk: Vec<u8>) -> Result<Fourway, Error>
pub fn on_eapol_key_frame<B: SplitByteSlice>( &mut self, update_sink: &mut UpdateSink, frame: Dot11VerifiedKeyFrame<B>, ) -> Result<(), Error>
pub fn on_rsna_response_timeout(&self) -> Result<(), Error>
pub fn ptk(&self) -> Option<Ptk>
pub fn gtk(&self) -> Option<Gtk>
pub fn igtk(&self) -> Option<Igtk>
pub fn destroy(self) -> Config
Trait Implementations§
impl StructuralPartialEq for Fourway
Auto Trait Implementations§
impl Freeze for Fourway
impl !RefUnwindSafe for Fourway
impl Send for Fourway
impl Sync for Fourway
impl Unpin for Fourway
impl !UnwindSafe for Fourway
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