Struct calloop::loop_logic::LoopInner
source · pub(crate) struct LoopInner<'l, Data> {
pub(crate) poll: RefCell<Poll>,
pub(crate) sources: RefCell<SourceList<'l, Data>>,
pub(crate) sources_with_additional_lifecycle_events: RefCell<AdditionalLifecycleEventsSet>,
idles: RefCell<Vec<Rc<RefCell<dyn IdleDispatcher<Data> + 'l>>>>,
pending_action: Cell<PostAction>,
}
Fields§
§poll: RefCell<Poll>
§sources: RefCell<SourceList<'l, Data>>
§sources_with_additional_lifecycle_events: RefCell<AdditionalLifecycleEventsSet>
§idles: RefCell<Vec<Rc<RefCell<dyn IdleDispatcher<Data> + 'l>>>>
§pending_action: Cell<PostAction>
Trait Implementations§
source§impl<'l, Data> IoLoopInner for LoopInner<'l, Data>
impl<'l, Data> IoLoopInner for LoopInner<'l, Data>
unsafe fn register(&self, dispatcher: &RefCell<IoDispatcher>) -> Result<()>
fn reregister(&self, dispatcher: &RefCell<IoDispatcher>) -> Result<()>
fn kill(&self, dispatcher: &RefCell<IoDispatcher>)
Auto Trait Implementations§
impl<'l, Data> !Freeze for LoopInner<'l, Data>
impl<'l, Data> !RefUnwindSafe for LoopInner<'l, Data>
impl<'l, Data> !Send for LoopInner<'l, Data>
impl<'l, Data> !Sync for LoopInner<'l, Data>
impl<'l, Data> Unpin for LoopInner<'l, Data>
impl<'l, Data> !UnwindSafe for LoopInner<'l, Data>
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