pub type ReliableSocket<const C: usize> = SessionSocket<C, AcknowledgementState<C>>;Expand description
Represents a socket with reliable delivery.
Aliased Type§
pub struct ReliableSocket<const C: usize> {
state: AcknowledgementState<C>,
upstream_frames_in: Pin<Box<dyn AsyncWrite + Send>>,
downstream_frames_out: Pin<Box<dyn AsyncRead + Send>>,
write_state: WriteState,
}Fields§
§state: AcknowledgementState<C>§upstream_frames_in: Pin<Box<dyn AsyncWrite + Send>>§downstream_frames_out: Pin<Box<dyn AsyncRead + Send>>§write_state: WriteState