Trait xwt_core::base::Session

source ·
pub trait Session: StreamOps + DatagramOps { }
Expand description

Base WebTransport session operations.

A blanket implementation for all the types that implement the required base session APIs.

You might want to depend in the individual traits that this trait requires (session::base::StreamOps or session::base::DatagramOps) instead in your code, if you know you will only be working with the subset of the API.

Also, consider depending on the individual stream/datagram APIs directly.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Session for T