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 Freeze for PeripheralEvent
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