pub enum UpstreamTransportType {
Quic,
WebTransport {
url: String,
},
}Expand description
The transport type for upstream relay connections.
Variants§
Quic
Raw QUIC — upstream_addr is host:port.
WebTransport
WebTransport — url is the full WebTransport URL.
Trait Implementations§
Source§impl Clone for UpstreamTransportType
impl Clone for UpstreamTransportType
Auto Trait Implementations§
impl Freeze for UpstreamTransportType
impl RefUnwindSafe for UpstreamTransportType
impl Send for UpstreamTransportType
impl Sync for UpstreamTransportType
impl Unpin for UpstreamTransportType
impl UnsafeUnpin for UpstreamTransportType
impl UnwindSafe for UpstreamTransportType
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