pub struct EventListenerRequest {
pub method: MethodId,
pub kind: EventKind,
/* private fields */
}Fields§
§method: MethodId§kind: EventKindImplementations§
Source§impl EventListenerRequest
impl EventListenerRequest
pub fn new<T: IntoEventKind>(listener: UnboundedSender<Arc<dyn Event>>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EventListenerRequest
impl !Sync for EventListenerRequest
impl !UnwindSafe for EventListenerRequest
impl Freeze for EventListenerRequest
impl Send for EventListenerRequest
impl Unpin for EventListenerRequest
impl UnsafeUnpin for EventListenerRequest
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