Skip to content

Commit

Permalink
h3i: allow cloning Action
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouviere authored and ghedo committed Oct 2, 2024
1 parent 9b4ca72 commit f994f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h3i/src/actions/h3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ use crate::encode_header_block;
/// sequentially. Note that packets will be flushed when said iteration has
/// completed, regardless of if an [`Action::FlushPackets`] was the terminal
/// action.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub enum Action {
/// Send a [quiche::h3::frame::Frame] over a stream.
SendFrame {
Expand Down Expand Up @@ -106,7 +106,7 @@ pub enum Action {
}

/// Configure the wait behavior for a connection.
#[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[serde(untagged)]
#[serde_as]
pub enum WaitType {
Expand Down

0 comments on commit f994f2b

Please sign in to comment.