pub type BoxedBidiStream = Box<dyn QuicTransportBidi + Unpin + Send + Sync>;Expand description
A type-erased QuicTransportBidi stream — Box<dyn QuicTransportBidi + Unpin + Send + Sync>.
Aliased Type§
pub struct BoxedBidiStream(/* private fields */);Trait Implementations§
impl QuicTransportBidi for BoxedBidiStream
Source§impl QuicTransportSend for BoxedBidiStream
impl QuicTransportSend for BoxedBidiStream
Source§impl Transport for BoxedBidiStream
impl Transport for BoxedBidiStream
Source§fn set_linger(&mut self, linger: Option<Duration>) -> Result<()>
fn set_linger(&mut self, linger: Option<Duration>) -> Result<()>
Sets the linger duration of this transport by setting the
SO_LINGER option Read moreSource§fn set_nodelay(&mut self, nodelay: bool) -> Result<()>
fn set_nodelay(&mut self, nodelay: bool) -> Result<()>
Sets the value of the
TCP_NODELAY option on this transport. Read moreSource§fn set_ip_ttl(&mut self, ttl: u32) -> Result<()>
fn set_ip_ttl(&mut self, ttl: u32) -> Result<()>
Sets the value for the
IP_TTL option on this transport. Read more