Comments (3)
Released as part of 4.2.0 which will ship with lapin 0.31
from amq-protocol.
from amq-protocol.
That's my misconduct. To elaborate, I would like to be able to call From::from
whenever the input type is explicit. For example,
- from(x: u8) -> AMQPValue::ShortShortUInt(x)
- from(x: bool) -> AMQPValue::Boolean(x)
- from(x: Vec<u8)>) -> AMQPValue::ByteArray(x)
I see the little trouble to whether convert String
to ShortString
or LongString
. Since ShortString
is deprecated, I think LongString
would be fine, or we can simply leave it untouched.
from amq-protocol.
Related Issues (11)
- Who to get value from a FieldTable HOT 7
- Panic when parse uri HOT 1
- impl Error for AMQPError
- Certificate based authentication HOT 8
- codegen should add Copy where plausible HOT 5
- AMQPType Deserialize impl should be smarter HOT 4
- WASM Compatibility HOT 4
- Eq for AMQPUri? HOT 1
- Parser fails for LongString values containing invalid UTF-8 HOT 4
- Is the `types::LongString` really only supposed to contain a valid UTF-8 data? HOT 11
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 amq-protocol.