Change to a stream of bytes for liveview to make using sledgehammer later non-breaking
This commit is contained in:
1 parent
9d53b2b6d2
commit
ee28c89f5e
1 file changed
+4
-4
@@ -87,16 +87,16 @@ impl LiveViewPool {
|
||||
/// }
|
||||
/// ```
|
||||
pub trait LiveViewSocket:
|
||||
SinkExt<String, Error = LiveViewError>
|
||||
+ StreamExt<Item = Result<String, LiveViewError>>
|
||||
SinkExt<Vec<u8>, Error = LiveViewError>
|
||||
+ StreamExt<Item = Result<Vec<u8>, LiveViewError>>
|
||||
+ Send
|
||||
+ 'static
|
||||
{
|
||||
}
|
||||
|
||||
impl<S> LiveViewSocket for S where
|
||||
S: SinkExt<String, Error = LiveViewError>
|
||||
+ StreamExt<Item = Result<String, LiveViewError>>
|
||||
S: SinkExt<Vec<u8>, Error = LiveViewError>
|
||||
+ StreamExt<Item = Result<Vec<u8>, LiveViewError>>
|
||||
+ Send
|
||||
+ 'static
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user