Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
8d8858c0
Unverified
Commit
8d8858c0
authored
Jun 24, 2022
by
Alexandru Vasile
Browse files
server: Make `pipe` methods of `SubscriptionSink` private
Signed-off-by:
Alexandru Vasile
<
alexandru.vasile@parity.io
>
parent
f95403ee
Changes
1
Show whitespace changes
Inline
Side-by-side
core/src/server/rpc_module.rs
View file @
8d8858c0
...
@@ -1050,7 +1050,7 @@ impl SubscriptionSink {
...
@@ -1050,7 +1050,7 @@ impl SubscriptionSink {
/// Ok(())
/// Ok(())
/// });
/// });
/// ```
/// ```
pub
async
fn
pipe_from_try_stream
<
S
,
T
,
E
>
(
&
mut
self
,
mut
stream
:
S
)
->
SubscriptionClosed
async
fn
pipe_from_try_stream
<
S
,
T
,
E
>
(
&
mut
self
,
mut
stream
:
S
)
->
SubscriptionClosed
where
where
S
:
TryStream
<
Ok
=
T
,
Error
=
E
>
+
Unpin
,
S
:
TryStream
<
Ok
=
T
,
Error
=
E
>
+
Unpin
,
T
:
Serialize
,
T
:
Serialize
,
...
@@ -1123,7 +1123,7 @@ impl SubscriptionSink {
...
@@ -1123,7 +1123,7 @@ impl SubscriptionSink {
/// Ok(())
/// Ok(())
/// });
/// });
/// ```
/// ```
pub
async
fn
pipe_from_stream
<
S
,
T
>
(
&
mut
self
,
stream
:
S
)
->
SubscriptionClosed
async
fn
pipe_from_stream
<
S
,
T
>
(
&
mut
self
,
stream
:
S
)
->
SubscriptionClosed
where
where
S
:
Stream
<
Item
=
T
>
+
Unpin
,
S
:
Stream
<
Item
=
T
>
+
Unpin
,
T
:
Serialize
,
T
:
Serialize
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment