We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0105e6a + bf27092 commit 6cf1960Copy full SHA for 6cf1960
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "stream_multiplexer"
3
-version = "0.4.0"
+version = "0.4.1"
4
authors = ["Benjamin Halsted <bhalsted@gmail.com>"]
5
edition = "2018"
6
license = "MIT OR Apache-2.0"
src/lib.rs
@@ -44,9 +44,9 @@ type StreamId = usize;
44
/// Produced by the incoming stream
45
pub struct IncomingMessage<V> {
46
/// Stream Id that the message if for
47
- id: StreamId,
+ pub id: StreamId,
48
/// Value received from a stream
49
- value: V,
+ pub value: V,
50
}
51
52
impl<V> std::fmt::Debug for IncomingMessage<V> {
0 commit comments