pub enum ClientH3Command {
Core(H3Command),
ClientRequest(NewClientRequest),
}
Expand description
Commands accepted by ClientH3Driver.
Variants§
Core(H3Command)
ClientRequest(NewClientRequest)
Send a new HTTP request over the [quiche::h3::Connection
]. The driver
will allocate a stream ID and report it back to the controller via
ClientH3Event::NewOutboundRequest
.
Trait Implementations§
Source§impl Debug for ClientH3Command
impl Debug for ClientH3Command
Source§impl From<H3Command> for ClientH3Command
impl From<H3Command> for ClientH3Command
Source§impl From<NewClientRequest> for ClientH3Command
impl From<NewClientRequest> for ClientH3Command
Source§fn from(req: NewClientRequest) -> Self
fn from(req: NewClientRequest) -> Self
Converts to this type from the input type.
Source§impl From<QuicCommand> for ClientH3Command
impl From<QuicCommand> for ClientH3Command
Source§fn from(cmd: QuicCommand) -> Self
fn from(cmd: QuicCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientH3Command
impl !RefUnwindSafe for ClientH3Command
impl Send for ClientH3Command
impl !Sync for ClientH3Command
impl Unpin for ClientH3Command
impl !UnwindSafe for ClientH3Command
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more