pub struct ListenerEvent<Id> { /* private fields */ }Expand description
An event a subscribed sender or receiver reported.
Id is the kind of peer the event came from: SenderId for the events
of a SendListener, ReceiverId for those of a RecvListener.
Event names and values are defined by the peer and are preserved as sent,
apart from the lossy decoding described on ListenerEvent::name.
Implementations§
Trait Implementations§
Source§impl<Id: Clone> Clone for ListenerEvent<Id>
impl<Id: Clone> Clone for ListenerEvent<Id>
Source§impl<Id: Debug> Debug for ListenerEvent<Id>
impl<Id: Debug> Debug for ListenerEvent<Id>
impl<Id: Eq> Eq for ListenerEvent<Id>
Source§impl<Id: Hash> Hash for ListenerEvent<Id>
impl<Id: Hash> Hash for ListenerEvent<Id>
Source§impl<Id: PartialEq> PartialEq for ListenerEvent<Id>
impl<Id: PartialEq> PartialEq for ListenerEvent<Id>
impl<Id: PartialEq> StructuralPartialEq for ListenerEvent<Id>
Auto Trait Implementations§
impl<Id> Freeze for ListenerEvent<Id>where
Id: Freeze,
impl<Id> RefUnwindSafe for ListenerEvent<Id>where
Id: RefUnwindSafe,
impl<Id> Send for ListenerEvent<Id>where
Id: Send,
impl<Id> Sync for ListenerEvent<Id>where
Id: Sync,
impl<Id> Unpin for ListenerEvent<Id>where
Id: Unpin,
impl<Id> UnsafeUnpin for ListenerEvent<Id>where
Id: UnsafeUnpin,
impl<Id> UnwindSafe for ListenerEvent<Id>where
Id: 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