Struct safe_network::routing::SendStream [−][src]
pub struct SendStream { /* fields omitted */ }
Expand description
The sending API for a QUIC stream.
Implementations
Set the priority of the send stream.
Every send stream has an initial priority of 0. Locally buffered data from streams with higher priority will be transmitted before data from streams with lower priority. Changing the priority of a stream with pending data may only take effect after that data has been transmitted. Using many different priority levels per connection may have a negative impact on performance.
Send a message over the stream to the peer.
Messages sent over the stream will arrive at the peer in the order they were sent.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SendStream
impl Send for SendStream
impl Sync for SendStream
impl Unpin for SendStream
impl !UnwindSafe for SendStream
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more