pub struct EventSubscription {
pub id: usize,
pub event_type: Option<String>,
/* private fields */
}Expand description
A subscription handle that holds a receiver for events
Fields§
§id: usizeUnique subscription ID
event_type: Option<String>The event type filter (None means subscribe to all events)
Auto Trait Implementations§
impl Freeze for EventSubscription
impl RefUnwindSafe for EventSubscription
impl Send for EventSubscription
impl Sync for EventSubscription
impl Unpin for EventSubscription
impl UnsafeUnpin for EventSubscription
impl UnwindSafe for EventSubscription
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