pub enum WifiDirectEvent<G> {
Sighting {
peer: MacAddress,
evidence: PeerEvidence,
initiative: Initiative,
},
PeerGone {
peer: MacAddress,
},
Invitation {
peer: MacAddress,
},
GroupOffer {
peer: MacAddress,
},
GroupFormed {
group: G,
},
GroupLost {
reason: GroupEndReason,
},
FormationFailed {
peer: MacAddress,
},
FormationProgress,
AvailabilityChanged(Availability),
}Variants§
Sighting
PeerGone
Fields
§
peer: MacAddressInvitation
Fields
§
peer: MacAddressGroupOffer
Fields
§
peer: MacAddressGroupFormed
Fields
§
group: GGroupLost
Fields
§
reason: GroupEndReasonFormationFailed
Fields
§
peer: MacAddressFormationProgress
AvailabilityChanged(Availability)
Auto Trait Implementations§
impl<G> Freeze for WifiDirectEvent<G>where
G: Freeze,
impl<G> RefUnwindSafe for WifiDirectEvent<G>where
G: RefUnwindSafe,
impl<G> Send for WifiDirectEvent<G>where
G: Send,
impl<G> Sync for WifiDirectEvent<G>where
G: Sync,
impl<G> Unpin for WifiDirectEvent<G>where
G: Unpin,
impl<G> UnsafeUnpin for WifiDirectEvent<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for WifiDirectEvent<G>where
G: UnwindSafe,
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