pub struct StreamTransmit {
pub id: StreamId,
pub data: Vec<u8>,
pub dscp: u8,
}Expand description
Bytes to write on a connection, after every earlier transmit of the same connection.
Fields§
§id: StreamIdThe connection.
data: Vec<u8>The bytes, framed (and encrypted, over TLS).
dscp: u8The Differentiated Services codepoint to send the connection’s packets with (the upper
six bits of IP_TOS / IPV6_TCLASS): every packet on one TCP connection carries the
same one (RFC 8837 section 5, RFC 8835 section 4.2), that of the highest-priority flow
the engine has. The driver sets it on the connection’s socket when it changes.
Trait Implementations§
Source§impl Clone for StreamTransmit
impl Clone for StreamTransmit
Source§impl Debug for StreamTransmit
impl Debug for StreamTransmit
impl Eq for StreamTransmit
Source§impl PartialEq for StreamTransmit
impl PartialEq for StreamTransmit
impl StructuralPartialEq for StreamTransmit
Auto Trait Implementations§
impl Forget for StreamTransmit
impl Freeze for StreamTransmit
impl Move for StreamTransmit
impl RefUnwindSafe for StreamTransmit
impl Send for StreamTransmit
impl Sync for StreamTransmit
impl Unpin for StreamTransmit
impl UnsafeUnpin for StreamTransmit
impl UnwindSafe for StreamTransmit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more