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
Source§fn clone(&self) -> UpstreamTransportType
fn clone(&self) -> UpstreamTransportType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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