mirror of
https://github.com/Noratrieb/icefun.git
synced 2026-01-15 21:25:02 +01:00
loop
This commit is contained in:
parent
b4ac40748d
commit
b3d4232a00
7 changed files with 0 additions and 754 deletions
|
|
@ -101,8 +101,6 @@ pub struct Sender {
|
|||
data_tx: BodySender,
|
||||
trailers_tx: Option<TrailersSender>,
|
||||
}
|
||||
const WANT_PENDING: usize = 1;
|
||||
const WANT_READY: usize = 2;
|
||||
impl Body {
|
||||
/// Create an empty `Body` stream.
|
||||
///
|
||||
|
|
@ -268,45 +266,3 @@ impl fmt::Debug for Sender {
|
|||
loop {}
|
||||
}
|
||||
}
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::mem;
|
||||
use std::task::Poll;
|
||||
use super::{Body, DecodedLength, HttpBody, Sender, SizeHint};
|
||||
#[test]
|
||||
fn test_size_of() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn size_hint() {
|
||||
loop {}
|
||||
}
|
||||
#[tokio::test]
|
||||
async fn channel_abort() {
|
||||
loop {}
|
||||
}
|
||||
#[tokio::test]
|
||||
async fn channel_abort_when_buffer_is_full() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn channel_buffers_one() {
|
||||
loop {}
|
||||
}
|
||||
#[tokio::test]
|
||||
async fn channel_empty() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn channel_ready() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn channel_wanter() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn channel_notices_closure() {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue