pub enum H3Command {
QuicCmd(QuicCommand),
GoAway,
}Expand description
H3Commands are sent by the H3Controller to alter the H3Driver’s
state.
Both ServerH3Driver and ClientH3Driver may extend this enum with endpoint-specific variants.
Variants§
QuicCmd(QuicCommand)
A connection-level command that executes directly on the
quiche::Connection.
GoAway
Send a GOAWAY frame to the peer to initiate a graceful connection shutdown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for H3Command
impl !RefUnwindSafe for H3Command
impl Send for H3Command
impl !Sync for H3Command
impl Unpin for H3Command
impl !UnwindSafe for H3Command
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