pub struct EventUser { /* private fields */ }Expand description
C event_user (dbEvent.c:84-105) — one per CA circuit. Owns the EVENTS_OFF
flag and the chain of queues subscriptions attach to.
Implementations§
Source§impl EventUser
impl EventUser
Sourcepub fn flow_ctrl_on(&self)
pub fn flow_ctrl_on(&self)
C db_event_flow_ctrl_mode_on — EVENTS_OFF. Posts now replace each
monitor’s last queued entry in place, and a reader suspends once its
queue holds no duplicates.
Sourcepub fn flow_ctrl_off(&self)
pub fn flow_ctrl_off(&self)
C db_event_flow_ctrl_mode_off — EVENTS_ON. Releases every suspended
reader on this circuit; C posts ppendsem for the same reason.
pub fn is_flow_ctrl_on(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EventUser
impl RefUnwindSafe for EventUser
impl Send for EventUser
impl Sync for EventUser
impl Unpin for EventUser
impl UnsafeUnpin for EventUser
impl UnwindSafe for EventUser
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