Struct repository::StreamInfo [−][src]
pub struct StreamInfo { pub stream: Box<dyn Stream<Item = Result<Bytes, Error>> + 'static + Sync + Send, Global>, pub chunk_size: u64, pub total_size: u64, }
Expand description
A stream that can be part of a larger file.
Fields
stream: Box<dyn Stream<Item = Result<Bytes, Error>> + 'static + Sync + Send, Global>
The stream data.
chunk_size: u64
The size of the current stream chunk, in bytes.
total_size: u64
The total size of the file the stream was extracted from, in bytes.
Auto Trait Implementations
impl !RefUnwindSafe for ChunkedStreamInfo
impl Send for ChunkedStreamInfo
impl Sync for ChunkedStreamInfo
impl Unpin for ChunkedStreamInfo
impl !UnwindSafe for ChunkedStreamInfo