pub enum PeripheralEvent {
OnPeerConnected {
peer: Peer,
connection: ClientEnd<ConnectionMarker>,
},
}
Variants§
OnPeerConnected
Implementations§
source§impl PeripheralEvent
impl PeripheralEvent
pub fn into_on_peer_connected( self ) -> Option<(Peer, ClientEnd<ConnectionMarker>)>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PeripheralEvent
impl Send for PeripheralEvent
impl Sync for PeripheralEvent
impl Unpin for PeripheralEvent
impl UnwindSafe for PeripheralEvent
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