mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
14 lines
190 B
Rust
14 lines
190 B
Rust
use std::pin::Pin;
|
|
|
|
use bytes::Bytes;
|
|
use futures::Stream;
|
|
|
|
pub enum PayloadError {}
|
|
|
|
// TODO: support stream data
|
|
#[derive(Clone, Debug)]
|
|
pub enum Payload {
|
|
None,
|
|
Bytes(Vec<u8>),
|
|
}
|