pub enum AnyTransportType {
Quic,
WebTransport {
url: String,
},
}Expand description
Draft-agnostic transport choice for AnyConnection::connect.
Variants§
Quic
Raw QUIC via quinn. The addr passed to connect should be host:port.
WebTransport
WebTransport via wtransport. The url is the WebTransport endpoint.
Trait Implementations§
Source§impl Clone for AnyTransportType
impl Clone for AnyTransportType
Auto Trait Implementations§
impl Freeze for AnyTransportType
impl RefUnwindSafe for AnyTransportType
impl Send for AnyTransportType
impl Sync for AnyTransportType
impl Unpin for AnyTransportType
impl UnsafeUnpin for AnyTransportType
impl UnwindSafe for AnyTransportType
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