hyper_static/
lib.rs

1#![doc = include_str!("../README.md")]
2use hyper::{body::Body, Response};
3use std::collections::VecDeque;
4use std::pin::Pin;
5
6pub mod serve;
7pub mod streamer;
8
9pub type Streamed =
10    Response<Pin<Box<dyn Body<Data = VecDeque<u8>, Error = ErrorBoxed> + 'static + Send>>>;
11pub type ErrorBoxed = Box<dyn std::error::Error + Send + Sync + 'static>;