Skip to content

Commit

Permalink
refactor: [#670] added error message for pint_response function
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-nt committed Jun 3, 2024
1 parent 08e87ca commit 74f4cb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/console/clients/udp/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ use aquatic_udp_protocol::{AnnounceResponse, ConnectResponse, ErrorResponse, Ipv
use serde::Serialize;

pub trait DtoToJson {
/// # Errors
///
/// Will return an error if serialization fails.
///
fn print_response(&self) -> anyhow::Result<()>
where
Self: Serialize,
Expand Down

0 comments on commit 74f4cb0

Please sign in to comment.