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