Skip to main content

SizedBodyStream

Trait SizedBodyStream 

Source
pub trait SizedBodyStream:
    AsyncRead
    + AsyncSeek
    + Send
    + 'static { }
Available on crate feature async only.
Expand description

Trait for seekable async body streams with a known size.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S: AsyncRead + AsyncSeek + Send + 'static + ?Sized> SizedBodyStream for S