pub enum RouteClient<'a> {
Quic {
alpn: &'a [u8],
},
WebTransport {
authority: &'a str,
path: &'a str,
headers: &'a HashMap<String, String>,
},
}Expand description
What a client asked for.
Variants§
Quic
A raw-QUIC client and the ALPN it negotiated. A refusal closes the connection.
WebTransport
A WebTransport session request. A refusal answers it with the rejection’s status.
Auto Trait Implementations§
impl<'a> Freeze for RouteClient<'a>
impl<'a> RefUnwindSafe for RouteClient<'a>
impl<'a> Send for RouteClient<'a>
impl<'a> Sync for RouteClient<'a>
impl<'a> Unpin for RouteClient<'a>
impl<'a> UnsafeUnpin for RouteClient<'a>
impl<'a> UnwindSafe for RouteClient<'a>
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