Skip to main content

Module cell_sender

Module cell_sender 

Source
Expand description

Implements an outbound Sink type for cells being sent from a circuit onto a channel.

Re-exportsยง

use std::pin::Pin; ๐Ÿ”’
use std::pin::pin; ๐Ÿ”’
use std::task::Context; ๐Ÿ”’
use std::task::Poll; ๐Ÿ”’
use cfg_if::cfg_if; ๐Ÿ”’
use futures::Sink; ๐Ÿ”’
use pin_project::pin_project; ๐Ÿ”’
use tor_rtcompat::DynTimeProvider; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use crate::HopNum; ๐Ÿ”’
use crate::channel::ChanCellQueueEntry; ๐Ÿ”’
use crate::channel::ChannelSender; ๐Ÿ”’
use crate::congestion::CongestionSignals; ๐Ÿ”’
use crate::util::SinkExt; ๐Ÿ”’
use crate::util::sometimes_unbounded_sink::SometimesUnboundedSink; ๐Ÿ”’
use crate::util::sink_blocker::BooleanPolicy; ๐Ÿ”’
use crate::util::sink_blocker::SinkBlocker; ๐Ÿ”’

Structsยง

CircuitCellSender ๐Ÿ”’
A sink that a circuit uses to send cells onto a Channel.

Type Aliasesยง

InnerSink ๐Ÿ”’
Inner type used to implement a CircuitCellSender.
SometimesUnbounded ๐Ÿ”’
The type of our SometimesUnboundedSink, as instantiated.