#![allow(dead_code)]
use crate::PeerHello;
use iroh::endpoint::{Connection, RecvStream, SendStream};
#[derive(Debug)]
pub struct Accepted {
pub(crate) inner: Connection,
}
#[derive(Debug)]
pub struct HelloExpected {
pub(crate) inner: Connection,
pub(crate) send: SendStream,
pub(crate) recv: RecvStream,
}
#[derive(Debug)]
pub struct HelloReceived {
pub(crate) inner: Connection,
pub(crate) send: SendStream,
pub(crate) recv: RecvStream,
pub(crate) hello: PeerHello,
}
#[derive(Debug)]
pub struct HelloSent {
pub(crate) inner: Connection,
pub(crate) send: SendStream,
pub(crate) recv: RecvStream,
pub(crate) hello: PeerHello,
}