Comments (2)
It's possible to use mem::swap
to exchange the referenced value with something of the same type. Then the original value could be dropped.
So it's at least possible in a somewhat contrived scenario.
from calloop.
Ah, hadn't thought about mem::swap or equivalent. That makes sense.
from calloop.
Related Issues (20)
- Remove the thiserror dependency
- Allow event source to mark itself as being ready from the `pre_run` or similar HOT 5
- Non blocking event loop with calloop HOT 5
- Enforce IO safety HOT 6
- Calloop cannot be shared between objects safely HOT 6
- Storing registration token in structure HOT 2
- epoll timeout rounding logic is broken on 0.10.x HOT 1
- Update dependencies HOT 1
- Windows support HOT 7
- Clarifications on how the Event Loop works and how to avoid blocking the event loop. HOT 3
- Documentation for Unix Signals not showing up in docs.rs
- Not all tasks scheduled with `Executor` are run HOT 2
- support for nix 0.27 HOT 1
- Make `nix` not a public dependency
- CI is failing on coverage runs HOT 2
- Stabilization HOT 10
- InsertError tends to be non-Send / Sync HOT 4
- tracing vs log
- Generic wrappers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calloop.