pub enum TransportType {
Quic,
WebTransport {
url: String,
},
}Expand description
Transport type for the connection.
Variants§
Quic
Raw QUIC via quinn. The addr field should be host:port.
WebTransport
WebTransport via wtransport. The url field is the WebTransport URL.
Trait Implementations§
Source§impl Clone for TransportType
impl Clone for TransportType
Auto Trait Implementations§
impl Freeze for TransportType
impl RefUnwindSafe for TransportType
impl Send for TransportType
impl Sync for TransportType
impl Unpin for TransportType
impl UnsafeUnpin for TransportType
impl UnwindSafe for TransportType
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