pub struct DelayedReadinessUpdates {
to_update: RefCell<Vec<FileDescriptionRef<dyn FileDescription>>>,
}Expand description
If a file description’s readiness is known to change but we don’t have an ecx around to update
it immediately, we arange for a referene to the delayed readiness updates queue to be available
and perform the update on the next scheduler call.
Fields§
§to_update: RefCell<Vec<FileDescriptionRef<dyn FileDescription>>>Implementations§
Source§impl DelayedReadinessUpdates
impl DelayedReadinessUpdates
pub fn add(&self, fd: FileDescriptionRef<dyn FileDescription>)
pub fn process<'tcx>(ecx: &mut MiriInterpCx<'tcx>) -> InterpResult<'tcx>
Trait Implementations§
Source§impl Debug for DelayedReadinessUpdates
impl Debug for DelayedReadinessUpdates
Source§impl Default for DelayedReadinessUpdates
impl Default for DelayedReadinessUpdates
Source§fn default() -> DelayedReadinessUpdates
fn default() -> DelayedReadinessUpdates
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !DynSend for DelayedReadinessUpdates
impl !DynSync for DelayedReadinessUpdates
impl !Freeze for DelayedReadinessUpdates
impl !RefUnwindSafe for DelayedReadinessUpdates
impl !Send for DelayedReadinessUpdates
impl !Sync for DelayedReadinessUpdates
impl !UnwindSafe for DelayedReadinessUpdates
impl Unpin for DelayedReadinessUpdates
impl UnsafeUnpin for DelayedReadinessUpdates
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes